alert box on button click in javascript code example Example: javascript alert program alert("sup homies");