javascript code for message box code example
Example 1: how to make an alert in html
<script>
alert('this is an alert');
</script>
Example 2: how to alert in javascript
alert("Message")
<script>
alert('this is an alert');
</script>
alert("Message")