Created
July 18, 2019 07:48
-
-
Save ssaurel/847906b79dc8f1e08c2da735b5f3e4ba to your computer and use it in GitHub Desktop.
Click Event Listener on the Chuck Norris image
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
document.getElementById("logo").addEventListener("click", function() { | |
randomFact(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment