A simple interactive rating component built with React and Tailwind CSS. Users can select a rating from 1 to 5, submit their feedback, and view a thank-you screen displaying their selected rating.
This is a solution to the Interactive Rating Component challenge from Frontend Mentor.
- React JS
- TailwindCSS
- Select a rating from 1–5
- Visual feedback for the selected rating
- Validation to prevent submission without selecting a rating
- Thank-you screen after submission
- Responsive design
I always got stuck on this one. So this time, I decided to sit down and think a little. I got help from ChatGPT for solving errors and code explanation. After an hour of work, the challenge is complete. I have started to get better at React. Now, I want to move forward with more projects.
Clone the repository and install the dependencies:
npm installStart the development server:
npm run dev