I am proud of the fact that I didn't give up and pushed through finishing the challenge even in moments were I felt it sucked. There were moments were in trying to fix one issue or add a functionality I broke something that was working. Working through those moments were hard but at the same time satisfying because it thought me how things are working and how to prevent this from happening in the future. Learning how to make JS modular was interesting I still don't fully get it but I will look more into it. Creating a toggle switch was fun and also adding light/dark theme. One thing I would do differently is planning a little more ahead of time before even starting to code. I find myself sometimes fumbling certain things because I wasn't prepared for it, like light/dark theme. I wasn't sure if I was going to add it until well after I created a bunch of components. I then had to go back and make adjustments to fit the addition of light/dark theme.
What challenges did you encounter, and how did you overcome them?- Creating a toggle switch was bit of a challenge but I watched a few tutorials and was able to get it to work.
- Setting up light/dark theme was only a challenge because I added it after creating some of the component which then required me to update some of them to get it to work. Now I know to plan for it better from the beginning.
- Handling so much DOM manipulations became challenging at times because getting one thing to work would sometime break something that was already working. Slowing down and going line by line and diving deep into debugging helped a lot to understand what was going on and how to avoid it for next time.
The three JavaScript files:
- Was the way I handled all the JS a good approach? What could have made it better?
- Is there a better way to fetch data and pass it along?
- Is there a better way to handle a light/dark theme?
- In general what isn't good and how can I make it better?