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 using flex and JS

@PrateekSaini15

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


I have faced the following issues in this challenge.

  1. While creating the "Thankyou Card" I have to drop the font size of the last paragraph to 12px in order to look similar to the design image provided but in the style specification its mentioned that the paragraph should be 15px.

  2. I have to use three different paragraph for bottom text in "Thankyou Card" to make the text look in same as in design image. Is there a better way to do it.

  3. For adding the active state on the rating button in the "Rating Card" I have to add event listener on each button, although it did the job but could we get away with just one event listener.

  4. I couldn't see any difference between mobile and desktop design. Am I missing something here?

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