Local Storage
Local Storage lets you save key/value pairs in the user's browser. Data survives page refreshes and browser restarts.
Saving and Loading Data
Data must be stored as strings. Use setItem and getItem.
Practice
Challenge 1: Save a username to local storage, retrieve it, and log it.