how to get items from localstorage in js code example Example: javascript get local storage var Item = localStorage.getItem('youritem');