Design comparison
Solution retrospective
I think the most thing I am happy is I can practice how to use JavaScript to manipulate the DOM object and use critical thinking and problem solving skills to interact with the innerHTML of each DOM object. Moreover, I can use console.log to debug the errors in my code whenever the website did not display properly
What challenges did you encounter, and how did you overcome them?I think the main challenge was to toggle the active class of each rating number. Specifically, when I click on each number, the background changes to orange and when I click on other number, the previous number will come back to initial state (grey color) and the new number will change to orange active class
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