Read And Write To Local Storage

This code snippet shows how to read and write to local storage.