show alert using javascript code example
Example 1: how to make an alert in html
<script>
alert('this is an alert');
</script>
Example 2: alert in js returb value or not
Alert in JS doesn't return anything -- it just Displays Message
<script>
alert('this is an alert');
</script>
Alert in JS doesn't return anything -- it just Displays Message