Responsive rating Component using ReactJS

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 🫡
Please log in to post a comment
Log in with GitHubCommunity 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