I\'m trying to learn how to use the localStorage js object with the following code.
I couldn't figure out why I couldn't see something in my localStorage
in Dev Tools, but could see it in the console when typing localStorage
. Well, if you store something with Dev Tools open, you won't see Application -> Local Storage
have anything listed for your host. When I closed/reopened Dev Tools, I could see my data.
So, in conclusion, close/reopen Dev Tools.