What is HTML5 LocalStorage?
HTML5 localStorage is a handy API that gives web developers access to 5MB store on a users local machine with no expiration date. Sure, there are other ways to store data client-side, but localStorage differs from cookies or sessionStorage in that localStorage is still there even after the browser is closed. It stores data with no expiration date. With localStorage, a web page can only access data stored by itself. I’ve created a Task Management App that uses localStorage to save data. Have a look if you’d like to see localStorage in action.