clhurlbut / virtual_fortune_cookie

A web app combining free public APIs to give the user a virtual fortune cookie experience.
MIT License
1 stars 0 forks source link

Restart/Refresh #16

Open clhurlbut opened 3 years ago

clhurlbut commented 3 years ago

Make the logic behind setting the page back to showing all elements but also checking the localstorage and if there is anything in there displaying it as cookies below that can be clicked and fortunes are displayed based on the previous input that is being displayed

clhurlbut commented 3 years ago

Ok, so this is the next thing. We need to make the localstorage persistent across refreshing, we need to check if there is anything in local storage first before it starts a new array. We should start there!