Submitted about 1 month ago
Responsive Interactive rating page Using Html Css JavaScript
@satish064
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I use JavaScript and it's work well.
What challenges did you encounter, and how did you overcome them?In rating part, I implement the class When I clicked rating count and so that it shows in white color, but others can also select if you click them e.g. you can select 1 and 3 both so, to overcome this problem I, in foreach loop I write for loop inside the foreach for removing selected class then add selected class so Whenever user click on rating count in js first selected classes removed then which is to clicked which is to applied
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