grab items from local storage and write to html javascript code example
Example 1: how to add variable to local storage in javascript
localStorage.setItem('key', 'value')
Example 2: javascript localstorage
var KeyName = window.localStorage.key(index);