Interactive rating component | HTML CSS JS

Solution retrospective
First challenge involving JavaScript. Feedback will be much appreciated.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Raam4
Hi! I've only found one problem; when an undecided user selects more than one score before submitting, the item reporting their selection is added as many times as the score they selected. That's because you use += in the function that adds the html to 'selectedRating'. You should fix that. The rest is very well done, excellent work.
Marked as helpful
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