Skip to content

Instantly share code, notes, and snippets.

@nuryslyrt
Last active November 24, 2021 19:46
Show Gist options
  • Save nuryslyrt/f67924c959bfe593804821a563911335 to your computer and use it in GitHub Desktop.
Save nuryslyrt/f67924c959bfe593804821a563911335 to your computer and use it in GitHub Desktop.
/*
Fun interactive Business Card Idea
Definitely Hover Things */
var secret = document.querySelector('#WINKWINK');
var wink = document.querySelector('#wink');
secret.addEventListener('mouseover', function(){
wink.classList.add('active')
});
secret.addEventListener('mouseout', function(){
wink.classList.remove('active');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment