3

I have implemented the login functionality in which i have to set the uname and password into the localStorage API.I want to know which place our data will be stored?

localStorage.setItem('userName', JSON.stringify(data.uname));
localStorage.getItem('userName');
Hassan Imam
  • 21,956
  • 5
  • 41
  • 51
Kapil Soni
  • 1,003
  • 2
  • 15
  • 37

1 Answers1

1

In Chrome, just go to the developer tools by pressing F12, then go to the Application tab and then go to the Local Storage option. After that, you'll see all your local storage of browser there.

Source : StackOverflow

Hassan Imam
  • 21,956
  • 5
  • 41
  • 51