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

A responsive page using flexbox

@CoderKnight02

Desktop design screenshot for the Interactive rating component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hi, this is my first project using JS. I'm impressed with how much I can do with so little, hope you like it. Any feedback is welcomed

Community feedback

Hyron 5,870

@hyrongennike

Posted

Hi @CoderKnight02,

Congrats on completing the challenge

I would suggest just disable the button until a rating is selected this can be done by adding the disabled attribute on the button and removing it when the rating is clicked. Currently the when you click the button without selecting a rating it's 0 but there is no 0 option.

Hope this is helpful.

Marked as helpful

0

@CoderKnight02

Posted

@hyrongennike oH thank you man. I'll do it so, I added the 0 option cause I didn't know what exactly to do when that happens

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