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 with Flexbox and Vanilla JS

N40h 90

@N40h

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


My question is mostly about the changing background color of the rating note we select in JS (if I understand the design correctly).

NOTE: I didn't use any figma files, i've only use the given assets.

  1. I wasn't really able to make a good function/event regardless these ratings notes, my logic for this step was that I wanted to change the background color ONLY for the selected rating note, any feedback or recommandations for this are really welcome including the logic if necessary.

Community feedback

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