O'Reilly logo

Instant HTML5 Local Storage How-to by Alex Libby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building a simple to-do list (Become an expert)

While researching material for this book, I came across a great post by Koes Bong at http://web.koesbong.com/2011/01/24/sortable-and-editable-to-do-list-using-html5s-localstorage/ on creating a sortable to-do list using Local Storage. It shows off a number of aspects of using Local Storage that we have covered in this book perfectly. Let's take a look at how.

Getting ready

For this task, you'll need a few things in addition to your normal text editor and the code that accompanies this book. I've assumed that local copies of all of the following plugins have been saved for the purposes of this task:

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required