Answered
Check value of an object in localstorage
I want to hide a div if the value of a localstorage object is true. See below screenshot of the Key which is _vxData and the object/array isUserLoggedIn. Using Jquery or vanilla js and css.

I want to hide a div if the value of a localstorage object is true. See below screenshot of the Key which is _vxData and the object/array isUserLoggedIn. Using Jquery or vanilla js and css.

You need to retrieve the value from the local storage and use that value in a script to toggle/set the display property.
Have a look at Using the Web Storage API | MDN or Google the subject.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.