JS LocalStorage Добавить текст
localStorage.setItem('username','myusername');
Now get the stored key
localStorage.getItem('username') //myusername
Shadow
localStorage.setItem('username','myusername');
Now get the stored key
localStorage.getItem('username') //myusername