Father of Samwise

Objects, Methods, Scope, APIs, Oh My!

The final objecting in chapter 1 deals with objects and methods. Before that, we (the author and I) covered variable scope and a few HTML5 APIs. I threw all of that together on this page that stores your name, your favorite food, and the title of the last book you read locally while also telling you where you are on the planet. The internet is making life easier all the time.

This code is also posted on JSFiddle. You can check that out if you like looking at and fiddling with JavaScript there.




Key Values