A simple web application to take a quiz with multiple-choice questions.
- Display a question with multiple-choice answers
- Highlight the correct answer upon selection
- Move to the next question with a "Next" button
- Show the final score at the end of the quiz
- Option to retake the quiz
- HTML
- CSS
- JavaScript
-
Clone the repository:
git clone https://github.com/suhanaparvin12/quiz-app.git
-
Navigate to the project directory:
cd quiz-app
-
Open
index.html
in your browser.
index.html
: The main HTML file containing the structure of the app.style.css
: The CSS file for styling the app.script.js
: The JavaScript file containing the functionality of the app.
No additional configuration is needed.
- Start the quiz by clicking the "Next" button.
- Select an answer for the displayed question.
- Click the "Next" button to move to the next question.
- At the end of the quiz, your score will be displayed.
- Click "Play Again" to retake the quiz.
Feel free to fork this project and submit pull requests. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.