how to alert.js code example Example 1: how to make alert in javascript alert("Alert") Example 2: javascript alert alert(varible);