localstorage getitem and setitem code example
Example 1: javascript get local storage
var Item = localStorage.getItem('youritem');
Example 2: javascript localstorage
var KeyName = window.localStorage.key(index);
var Item = localStorage.getItem('youritem');
var KeyName = window.localStorage.key(index);