Created
June 24, 2020 03:12
-
-
Save night-fury-rider/80ffab07c2cb48a860b1072204839a4e to your computer and use it in GitHub Desktop.
Basic Click Listener
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("add-user").addEventListener("click", addUser); | |
function addUser() { | |
console.log('User has been added'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment