Welcome to the React Quiz App, a fun and interactive way to test your knowledge in HTML, CSS, JavaScript, and React! This project allows users to select a subject and difficulty level and go through a series of questions. The app shows a final score based on your answers and offers a retake option.
- 📚 Subjects: HTML, CSS, JavaScript, React
- 🎯 Difficulty Levels: Easy, Medium, Hard
- ⏱ Real-time Score Tracking
- 🔄 Retake Quiz Option
- 🎨 Responsive UI with Tailwind CSS
- 🔍 Routing with React Router DOM
Check out the live demo: Quiz App Demo
- React ⚛️
- React Router DOM 🔀
- Tailwind CSS 🎨
Follow these steps to run the project locally:
-
Clone the repository: git clone https://github.com/Ashwin-MB97/Quiz-App.git
-
Navigate to the project folder: cd quiz-app
-
Install dependencies: npm install
-
Start the development server: npm run dev
- Select a Subject (HTML, CSS, JavaScript, or React).
- Select a Difficulty Level (Easy, Medium, or Hard).
- Click Start to begin the quiz.
- Answer the questions by selecting the correct option.
- Click Submit Answer after each question.
- At the end, your score will be displayed.
- You can click Retake Quiz to try again!
- After completing the quiz, the score is displayed along with a cool medal icon based on your performance:
- 🥇 Gold Medal for scores of 9 or above
- 🥈 Silver Medal for scores between 7 and 8
- 🥉 Bronze Medal for scores below 7