alert jsva script w3schols code example Example 1: how to make alert in javascript alert("Alert") Example 2: how to alert in javascript alert("Message")