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

Stateful Interactive Rating Component using React and Tailwind CSS

@gityacine

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


Building a Stateful Interactive Rating Component using React and Tailwind CSS

I managed to solve this challenge using React and Tailwind CSS.

This challenge unlike the previous challenges that I have solved needed to incorporate some JavaScript. I made the task easier by using React (useState hook and some conditional rendering). Managing states was a bit tricky especially when passing the state from children to parent component and style them accordingly.

I have also added some visual effects that I found cool. Let me know what you think.

Happy coding!

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