JavaScript Alert
<button onclick="myFunction()">Try it</button>
<script> function myFunction() {
alert("I am an alert box!");
} </script>
<button onclick="myFunction()">Try it</button>
<script> function myFunction() {
alert("I am an alert box!");
} </script>