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 (Second JavaScript Challenge)

@HawkEyeB

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


Hey. This is my second challenge using JavaScript, so I tried my best to do what I knew at the time. I would like all possible feedback on the JS part of how it could be done, what I could change and how this challenge could have been solved in a simpler way.

Community feedback

@fico444

Posted

Hi, congrats it's an excellent solution. I only found two details:

  • the border on the submit button
  • If the user does not select any rating and presses submit, the script shows the thank you card. It must show a warning or a message. ;)

Marked as helpful

1

@HawkEyeB

Posted

@fico444 Ohh. Thanks for the tip. I was so focused on making it work that I forgot the warning in case no one presses anything. I will include this exception on the code

1

@HawkEyeB

Posted

@fico444 Done. Now will show a message.

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