Foothill Coin70: Assignment Set 3
341
Validate a form with Username, EmailAddress, Age. Ensure Age is valid (ie, 18-21).

Student's note for the teacher: I extended the requirements in order to validate (beyond the age) the format of the email address and to require the presence of an user name. I also chose NOT to reset a field to the default data if there is an error; rather, I indicate the error coloring the field red; if the entry is correct the field turns bluish. Leaving the user's entry intact allows him to better detect the error.
In summary: the color (blue for correct input, red for wrong, white for field not yet touched) shows the status of the form at every step.

342
Extend teacher's 342.htm so that a drop down combo box allows surfers to choose among many images to be shown. For example, if the user who loves books (say, usually on Perl) choses "Cascading Style Sheets" the picture of the book on Perl will be replaced by the cover of a Css book. Each image is linked up to a different URL, and is clickable. On a MouseOver also have a Status Bar Message appear for each individual Image. Also make sure that this exercise is "Browser Compatible".

r.parolari@mac.com



[URL: ; Last updated: ]