Day 6: Password Forms & Tooltips

Tiffany White,

Here we just iterated on what we learned previously with:

We learned two new methods,


in relation to making it so the tooltips showed up when we clicked in the form’s password box, the tool tip being “password needs to be greater than 8 characters”. Once the 8 characters were put in, the tool tip disappeared.

The code looked something like this:

We practiced DRY programming by wrapping our resued methods, variables, etc in functions.

© tiff.RSS