Design comparison
Solution retrospective
What was difficult for you in this project? CSS or javascript?
Community feedback
- @jameswhatleyPosted over 1 year ago
Good work, this looks great! Just something I noticed, it looks like you can select multiple ratings at the same time. So, if I wanted to I could select all 5 rating options.
It might be worth reviewing your JavaScript code to check if any of the other rating buttons contain the "active" class and if it does then remove it, but only when another one has been selected. So in the end they behave like radio buttons.
Well done on an excellent job though!
Marked as helpful1@BitWizCoderPosted over 1 year ago@jameswhatley Thank you so much. I will take a look at these suggestions right away. I'm not familiar with all of this yet since I'm new to JavaScript, but I will do my best to see how much I can improve.
1
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