Design comparison
Solution retrospective
What did you find difficult while building the project? Still having hard time on DOM manipulations and Javascript as whole.
Which areas of your code are you unsure of? Javascript and the way I code the design.
Do you have any questions about best practices? Any tips to master javascript and shortening the design code.
Community feedback
- @Gitit2meBabyPosted about 1 year ago
Yo! Nice work on the design.. In the Javascript your on the right track, but you need to remove the .selected class from all the other buttons when one is clicked on. I'm also a beginner, and in struggleTown, but for what its worth.. I chose to create a function that removed any case of the 'selected' class each time a button was clicked on, i called this function in the buttons eventListener's forEach button every time. cheers! Dan
0
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