js read from storage code example
Example 1: save to local storage
var cat = localStorage.getItem('myCat');
Example 2: javascript localstorage
var KeyName = window.localStorage.key(index);
var cat = localStorage.getItem('myCat');
var KeyName = window.localStorage.key(index);