Exercise : Birthdays (by Phil Sheperd)
What day of the month were you born on?
Let's check the box for everyone's day in .
The form submits to itself, but if you leave the page and come back, it forgets what boxes were checked.
-
Remove the redundancy between all the checkboxes on the page using a loop.
-
Use a cookie(s) to remember which checkboxes are checked when the form submits.
If the user comes back, the same checkboxes should be checked.
(How many cookies should you use, and what should you store in them?)
-
()