This is code that accompanies a tutorial about how to use HTML5's local storage.