JS LocalStorage Text hinzufügen

localStorage.setItem('username','myusername');
Now get the stored key

localStorage.getItem('username') //myusername
Shadow