Created
June 19, 2017 11:28
-
-
Save kirill578/897e4735b49f1187111fce30cd3bfc61 to your computer and use it in GitHub Desktop.
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
<!DOCTYPE html> | |
<html> | |
<body> | |
<p>Click the button to display an alert box.</p> | |
<button onclick="myFunction()">Try it</button> | |
<script> | |
function myFunction() { | |
alert("Hello! I am an alert box!"); | |
} | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment