create alert in html code example
Example 1: how to make an alert in html
<script>
alert('this is an alert');
</script>
Example 2: simple alert program in javascript
alert("this is the alert")
<script>
alert('this is an alert');
</script>
alert("this is the alert")