I’m trying to test the localStorage() function in the workspace and save it to a variable. Then I am trying to make the variable that the localStorage() item is saved to display on two different p elements. I have both pages linked to the same javascript file and have both elements saved to variables with document.getElementById(). I don’t understand why it is not working.
Hi there!
Could you share your code so someone offering assistance can see what you’re working with?
Thank you!
Never mind, I figured it out. Sorry
1 Like