Well, hello there! In my introductory post I mentioned that I liked 30 Day Challenges. You might have noted by now that I am not so much into “finishing them on time” as I am into “starting them”, or if it has to do with anything diet-related, “not doing it at all after day 3”.
Today we focused on localStorage by creating a list which the user could add to, then refresh the page and have their options persist. This is in lieu of storing anything to a database, but it’s still a fun trick.
Here is the pen:
Putting this into codepen also introduced the need to include Babel. It seems that by default this processor did not support the use of map for some reason, or perhaps it was the way I set up the function that was problematic. Either way, I have put it on my list to explore integrating Babel into my gulp workflows, since using ES6 is becoming way too much fun.