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 built with NextJs and TailwindCSS

@briannelson95

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 challenge was pretty easy. I was actually working on something similar in my freelance work so I had a good idea of how I was going to save state and make this interactive.

One problem I ran into was using Tailwind to create the custom look of the radio buttons by using their peer function. I needed to separate all the the radio buttons into their own <div> because without, when 1 was selected all of the peers were visually changing.

No major questions about best practices. If anythings it would be around the correct way to use all of the different form tags.

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