Interactive Rating Component Main

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Schismond
hello my friend , there is a few things you can modify in your code to make it better 1st : you can give the button border : none 2nd: in your JS after a button is clicked you delete the active class from the old clicked buttons and add it for the new clicked one 3rd: in your css you can write the color names as variables to make it more readable and easier to modify I hope this helped you.
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