- I am most proud of pushing through it, there were times where I couldn't figure out how to solve a part of the solution but rather than give up I tried and tried until I figure it out.
- Getting a better understanding of some of the core concepts of JavaScript like event delegation , the .reduce() method and Promises.
- Taking in the extra time to create a loading state
- Buttons not working after fetching data. I forgot that fetching data re-renders the HTML causing any event listeners to be removed, therefore I had to use event delegation to get it to work. I figured it out by using stack overflow and reading up on the
fetch()
method.
I would like some feedback on the main.js
file was there a better or more efficient way of writing the js.