Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Alert Box</title>
- </head>
- <body>
- <h1>Built-in JavaScript Functions</h1>
- <p>these are some of the built-in functions in JavaScript</p>
- <p>Click the button to display an alert box</p>
- <button type="button" onclick="myFunction()">Click Me</button>
- <script>
- function myFunction() {
- alert("I am an alert box");
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement