HTML5’s local storage feature allows the browser to store and retrieve specific data. In this post, we’ll pick up where we left off in the previous post where we built a real-time CSS editor using the HTML5
contenteditable attribute. Now we’re going to learn how to save our edited content to the browser’s local storage, then clear it when we no longer need it.
Watch my short tutorial to see how local storage in HTML5 works.