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