Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Interactive rating component solution

@incihuseynli

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@Akinyemi4

Posted

This is very nice and I just finished same challenge a day ago so I decided to check other solutions to gain more insights into the logic they implemented in their code (mostly, the JavaScript). Well done.

Though, I have a suggestion. I would suggest you use an if statement to check if a number(from the rates) has been clicked before the submit button would change the cards. So if someone doesn't choose any rating, nothing should happen.

You can check for that in future challenges. Great work. I hope you find this helpful.

Marked as helpful

0

@incihuseynli

Posted

@Akinyemi4 Thank you so much for great feedback. I'll check and try to improve my code more :)

0

Please log in to post a comment

Log in with GitHub
Discord logo

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