Interactive rating component

Solution retrospective
- should I have used preventDefault()?
- should I have used buttons for ratings?
please don't pay attention to missing font
Please log in to post a comment
Log in with GitHubCommunity feedback
- @remyboire
Hi @nikasana, great job completing this challenge! Using radio buttons is in my opinion the best way to handle it, this way you don't have to prevent the default behavior as it does exactly what we need. Hope it helps! Do not hesitate to check my own solution if needed :)
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