we will learn how to use localstorage in javascript. localstorage saves our data in the browser. localstorage have three important methods localStorage.setItem , localStorage.getItem, localStorage.removeItem
setItem method is used to store data in local storage. getItem method is used to retrieve data from local storage. removeItem() method is used to remove data from localstorage