how to get an alert after clicking a different button in html code example Example: simple alert program in javascript alert("this is the alert")