Last active
September 17, 2018 04:07
-
-
Save momenbasel/4d57de6f0cccd34ccf73e3de5bff4162 to your computer and use it in GitHub Desktop.
a demo to demonstrate callback hell
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <p id="clickme" onclick="clicked()"> Click me I\'m sexy </p> | |
| <script> | |
| // JS Code jere | |
| function clicked() { | |
| document.getElementById("clickme").innerHTML = "YOU CLICKED ME!"; | |
| } | |
| </script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment