Tagging Invalid Form Entries using Color

Below is a form that demonstrates how to use a variety of input types. What is different from what we saw in lecture is that when we determine a form entry is incorrect, we change the text prompting for that entry red so the user can easily spot mistakes.

Please enter your name

Please enter your birthyear

Going to be a ghost for halloween? Yes No It's a secret

You will graduate from Wellesley Class of:
2005
2006
2007
2008

Tell me your favorite cartoon character: