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

@mariamkilany

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

Purnima Kumarβ€’ 390

@purnimakumarr

Posted

Hey Marium, I would suggest to add a check for whether user has selected a rating or not before submiting. Also, to make the component more interactive you can add an alert like "Please select a valid rating" in case the user tries to submit without selecting a rating.

Marked as helpful

1

@mariamkilany

Posted

@purnimakumarr Thanks! I thought the user had the option not to rateπŸ˜…

0
Purnima Kumarβ€’ 390

@purnimakumarr

Posted

Usually in cases when user have the option not to rate, there is a button like Ignore or Proceed without rating. But I think in this case(as there is no such button as an option) there isn't an option for user to select 0 as a valid rating in the available ratings in the component. So, adding an alert would make more sense.

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