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

Anna Chen 50

@annachen2

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


Working but atm there is no check that disables the submit button until a rating is selected.

Community feedback

@covstar

Posted

In your javascript, set a condition if the buttons are not already clicked not to submit. E.g; if using jquery $('#submitBtn').click(function(){

Let btn1 = $('#btn1').text(1);

if (btn1 == "") { return false; }

})

What it means, is that if the btn1 is not clicked, the submit button will not work.

Let me know if this was helpful.

0
Gvne 70

@gvnee

Posted

Make your repository public.

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