I know the title says "Day 10", but it's more like day 15 as I've spent the past few days working on a DOM Events exercise where I had to create a shopping list web app. Pretty simple right? Ha.
It took me quite a long time to figure out how mark through each list item when the user clicks on it. Same for creating a delete button beside each item, including any new items the user inputs. And it took me even longer to figure out how to actually remove that item from the list when you click on the delete button.
Honestly, I felt pretty discouraged while working on this, since I know shopping lists and To Do lists are supposed to be a few of the easier things you can create with JS. I thought, "What is wrong with me? Why am I having so much trouble with something so simple??"
But then I realized, right now, it really doesn't matter how long it takes me to grasp something, or create something. What matters most is that I figure it out, and use the many awesome resources available to me. Which I did.
That's a win in my book.
Oldest comments (0)