Now large amounts of learning won't be achieved by that person, as we go through the details of what causes the problems and the aspects around them that lead to useful solutions.

It's obvious he/she isn't (interested in?) learning anything... it's been 24 hours, and he/she is still dilly-dalying with variable names... it's obvious he/she just wants someone to do his/her (home?) work for him/her.

I'm not one to force someone to learn if they don't want to... if it is, indeed, homework, you're only cheating yourself I say... if it's something else... well maybe learning javascript isn't a priority in his/her life...

PS - If I've robbed someone of the opportunity to learn, I apologize... if you want a free, good resource for learning Javascript interactively, and at your own pace, try W3Schools Online Web Tutorials - cheers.