javascript code to get local storage value code example
Example 1: javascript get local storage
var Item = localStorage.getItem('youritem');
Example 2: get localstorage value
localStorage.getItem('bgcolor');
var Item = localStorage.getItem('youritem');
localStorage.getItem('bgcolor');