API de armazenamento da Web

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