Skip to content

Latest commit

 

History

History
executable file
·
1 lines (1 loc) · 368 Bytes

File metadata and controls

executable file
·
1 lines (1 loc) · 368 Bytes

The sample code above has a method called alert() that will send an alert message to the browser when it is run. If you haven't already ran the program, run it to see what happens. The alert() method will print a dialogue box with a message when called. An alert box is often used when you want the user to double check the option he/she selected before moving on.