API веб -хранилища

localStorage.setItem("name", "John Doe");
localStorage.getItem("name");
naly moslih