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 [Vanilla JS/Sass/BEM]

@Lino-OTM

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


This was my first time using vanilla JS on my own, I knew what I had to do but before I had to search for methods for my functions. There are some things I could improve such as blocking the submit button until an option has been chosen or maybe another button to come back to the first rating card...

Any feedback is VERY welcome! :)

Community feedback

Victor 1,035

@CodeVee

Posted

@Lino-OTM Hi Iván De León Lino, Great job on this. My only suggestion would be to use const rather than let for your query selectors as the are not reassigned.

Marked as helpful

1

@Lino-OTM

Posted

@CodeVee Thank you very much for your feedback! I'll try to implement that in future projects

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