Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created July 18, 2019 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssaurel/847906b79dc8f1e08c2da735b5f3e4ba to your computer and use it in GitHub Desktop.
Save ssaurel/847906b79dc8f1e08c2da735b5f3e4ba to your computer and use it in GitHub Desktop.
Click Event Listener on the Chuck Norris image
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