JS LocalStorage Tambahkan teks

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

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