Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

Responsive rating Component using ReactJS

bem, react
Madhavan•370
@madhavan-ts
A solution to the Interactive rating component challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I have completed this as my 16th challenge in Frontend Mentors. I developed this page using ReactJS library. I am just starting to learn it.

I used conditional rendering and useState hook to manage the state of the accordion. I find it very easy to make it as components so that I could reuse it.

Can someone go through my code and point out the mistake. So that I could search for the right way to do it.

If you have to correct any mistakes that I have done.... I am happy to recive the comments.

Advance thanks for the comments 🫡

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Madhavan'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License