In part 3 of this series we add stars, and save progress to LocalStorage.
"The journey towards the creation of a great HTML5 level select screen continues. I started with the post Create a HTML5 level select screen controlled by swipe without actually checking for swipes and added a feature to actually select a level. Then I added the navigation with page thumbnails.
To make it more modern, we need to add stars, because there’s no point in completing a level if we cannot get three stars. And above all we need to save level progression – and stars earned – using local storage."