Exercise Alert Popups

Before you begin, go File...Save As this Wordpad document to your Exercise Folder on your harddrive. Save as Firstname.LastName.exalert.htm.
Now, begin your work on your harddrive copy. Comment out each line or section of code using the /* (insert comments here) and */ symbols. See p. 14 for an example.

1. Create a script that causes a popup alert to appear when this page loads. Make the popup message be, "A Park Center Popup".

2. Create a script that causes a popup alert when you click this button

that says "I did it".

Extra Credit. Using a function and conditionals, create a script for the form below that accepts the password, rholl, but rejects all other passwords with a popup menu that says, "You have entered an invalid password." Do not mess with the name blank. Hint: You will need to tweak the html code for the form also and add an "event handler" into it.

Name- Password-

Save this html document into the Exercise DocWrite Folder on the server. Do a File....Save As....Firstname.Lastname.exalert.htm an extra copy of your completed document into the Exercises Alert folder on the server. Open up your exercise on the server in a browser to make sure it appears the way your want it.