how to style alert box in javascript code example Example 1: how to make alert in javascript alert("Alert") Example 2: how to alert in javascript alert("Message")