Descripton

this is a very short code demonstrating local storage.
As you can see it is much smaller than main HTML as it is appropriate for browser but wont work if you directly put it in Intel XDK and emulate. 
But still I hope it will help you understand how local storage works much better than main HTML.
Thank you