get value from local storage javascrupt code example Example: javascript get local storage var Item = localStorage.getItem('youritem');