- Make a form that asks for the persons email address and age.
- If enters into the age field a number less than 12, complain with an alert box. Use onChange.
- If the person's email address does not have an '@' sign, complain. Use onChange and indexOf or regular expressions.
- If they try and submit and the person is less 12 years old, take them to pbskids.org. Use redirect.
- If the person enteres a non-number in the age field, complain an alert box. You can check this.
- Convert the years into days. When the age field changes, change the day field. Use onChange on the age field and innerHTML to change the day field.