The complete guide on LocalStorage, it's API, a code walkthrough, and various trade-offs and limitations compared to other storage options.