Team Contributor at:
Interested in a professional website?
Learn how web development with freelancers should be!
What are your marketing goals?These are just some of the many questions we will discuss
Do you need a copywriter?
Have a logo already?
What are you waiting for?
Schedule an appointment today!
Potential clients, fellow developers welcome!
So far, `this` has only been described as meaning the thing to the left of the .this which it was called on. To make this a little less mystifying, I’m going to explain it in terms you may understand with examples.
In my last article we created a sarcastic text generator. Today, we will create a shopping list with custom events, delegation (listen on events that happen in the future), and use local storage. This project is similar to one I created recently in jQuery, check it out here. This one is a bit more advanced than any of the previous articles so I’d recommend checking those out first if you haven’t already. Without further ado, let’s get started.
In this exercise, we will learn how to manipulate text output using Array.from (turning a string into an array of letters), editing letters based on the use case, putting them back together in the desired output and lastly, and hopefully most importantly, we have fun!