This is a simple quiz app built using React. It allows users to take a quiz consisting of multiple-choice questions and provides a score at the end based on their answers.
- Multiple-choice questions.
- Navigation between questions.
- rechanging the answers
- Submitting answers and viewing the final score.
-
Clone the repository:
git clone <repository_url>
-
Navigate to the project directory:
cd quiz-app
-
Install dependencies:
npm install
-
Run the app:
npm start
-
Open your browser and go to
https://quiz-application-lovat.vercel.app/
to view the app.
- Click on an answer choice for each question.
- Use the "Next" button to move to the next question and the "Back" button to go back to the previous question.
- When on the last question, click "Submit" to see your final score.
- React Hooks
- JavaScript (ES6+)
- HTML
- CSS
src/
- Contains the source code for the React app.components/
- Contains React components for the app.App.js
- Main component handling the quiz logic.index.js
- Entry point for the React app.