create a script which create an alert when a user clicks an image in javascript code example Example: simple alert program in javascript alert("this is the alert")