Last active
June 4, 2017 21:06
-
-
Save jonsamp/3f2d484be1fa937e8d0742f3a0f6454b to your computer and use it in GitHub Desktop.
JavaScript Tips Tab: onTipButtonClick I
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onTipButtonClick() { | |
var tipButton = document.querySelector('.tip-button'); | |
tipButton.addEventListener('click', function() { | |
console.log('RIP clippy'); | |
}); | |
} | |
onTipButtonClick(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment