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