display 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");
<script>
alert('this is an alert');
</script>
alert("string");