Tell us what’s happening:
I didn’t really understand this:
var lastNameLength = 0;
I checked the W3 School page about it.
So why do you need to define the lastNameLength to 0 when an empty string results in 0 by default? Or am I completely missing the concept here? I have the feeling understanding this will prove pretty crucial later on.
Your code so far