Math Quiz Generator A simple and interactive web-based math quiz generator. The quiz generates random math problems involving addition, subtraction, multiplication, and division, and checks the user's answer for correctness.
Features Randomly generates math questions with two numbers. Includes basic arithmetic operations: addition (+), subtraction (-), multiplication (*), and division (/). Provides instant feedback on whether the answer is correct or incorrect. Easy-to-use interface with "Next Question" functionality to keep practicing. Demo You can try out the Math Quiz Generator by visiting the Live Demo.
Installation
-
Clone the repository: git clone https://github.com/Alexy03/math-quiz-generator.git
-
Open the project folder: cd math-quiz-generator
-
Open index.html in your browser to run the quiz locally.
Usage
- Click the "Next Question" button to generate a random math problem.
- Enter your answer in the input field.
- Press "Submit" to check your answer.
- The result will be displayed, indicating whether your answer was correct or incorrect.
File Structure math-quiz-generator/ │ ├── index.html # Main HTML file ├── styles.css # Styles for the quiz interface ├── script.js # JavaScript for quiz logic ├── README.md # Project README └── LICENSE # MIT License
License This project is licensed under the MIT License. See the LICENSE file for details.
Feel free to contribute, fork the repository, or submit any issues or suggestions.
Author Developed by Alexy03