Skip to content
JavaScript학습 기록

JavaScript project assignment MISSION 3❗

1 min readLearningMoved from my Tistory blogRead the Korean original

I want to write down what I felt while coding the JavaScript project assignment MISSION 3.

It took me a while to understand the structure of the template provided for this assignment. I did finish it, but I think the code isn't concise and has a lot of repeated parts.

I got stuck in two places in this mission. One was a part where I had to separate the object elements received through forEach() one by one, and I think I struggled a bit there. Once I understood the scope and placed things while watching out for cascading, I think it got solved.

The next was a part where I had to fire a CustomEvent. I hadn't studied this before, so I think I solved it after many attempts and a lot of searching on MDN and elsewhere.

The moment it clicked was when I realized that, since each DOM element's event had to be fired, it had to be given to the objects iterated with forEach().

The next mission is building a calendar. I'm pretty worried, but I'll give it my best!

  • #JavaScript project assignment MISSION 3❗

More in Learning