Design comparison
Solution retrospective
Hi!
This was certainly a challenge. I postponed my React course, because I want to go deeper into Javascript before exploring another framework or language. I challenged myself to make this interactive with vanilla Javascript and it was fun.
I learned to use js modules and classes. Even though my code can get more efficient, I'm proud of the accomplishment here. What worked for me was to break it down into smaller pieces and solve a single problem at a time, instead of getting stuck in the big picture. I tried to apply the Model View Controller architecture here, but I yet have to polish that aspect.
I hope to get better at avoiding using recursions and at applying a better MVC architecture. I want to build the solving skills before learning new syntax and new frameworks.
As always, if you read this and get a look at my code, it will be scary because I used, intentionally, the append and remove method for the DOM. If you have any tips or suggestions, I will appreciate it a ton.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord