Interactive rating component main

Solution retrospective
I was able to better understand what needed to be done in the interactive part of JavaScript, and this allowed me to better focus on what needs to be addressed to complete the project.
What challenges did you encounter, and how did you overcome them?At this stage of learning, almost everything is new and, given this, the biggest difficulty is always identifying the best solution to apply in the resolution.
In this case, it was the use of add and remove classes to achieve the desired effect of the selected button within the iteration.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Gildman Laécio's solution.
Join 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