Interactive Rating built with NextJs and TailwindCSS

Solution retrospective
Interactive Rating Component
What did you find difficult while building the project?
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.
Which areas of your code are you unsure of?
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.
Do you have any questions about best practices?
No major questions about best practices. If anythings it would be around the correct way to use all of the different form tags.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Brian Nelson's solution.
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