Tags » Blue Dream

loading previous input values with local storage

I am creating a “Mad Libs” function and I want to utilize local storage along with it.

If the user has entered values into the input fields, I want those values saved in localStorage… and then when the page is reloaded, those values are loaded into the story that’s generated once the page loads. 183 more words

Recent Questions - Stack Overflow

DIVs change color by "click" with event handler

I want to create an event where the DIVs are clicked and they change to a random color. I’m fairly confident that this is the general setup, but I’m just overlooking some small error(s)… 131 more words

Recent Questions - Stack Overflow