how to show an alert in html after you click a button code example Example: simple alert program in javascript alert("this is the alert")