This repository contains an interactive web application where users can test their addition skills by solving random sums of two numbers. The app generates two random numbers, displays them, and allows the user to input their answer and check if it's correct.
- Random generation of two numbers between 1 and 100.
- Interactive user interface using HTML, CSS, and JavaScript.
- Responsive design powered by Bootstrap 4.
- Provides immediate feedback on the user's input.
- "Restart" button to generate a new pair of numbers.
- Open the application in any modern web browser.
- View the two randomly generated numbers and the "+" operator.
- Input your answer in the provided text box.
- Click the "Check" button to validate your answer.
- Click the "Restart" button to start a new round with different numbers.
- index.html: The main HTML file containing the structure of the web application.
- style.css: Contains the custom CSS styles for the application.
- script.js: Includes the JavaScript logic for generating numbers, checking results, and restarting the game.
- Bootstrap 4.5.2: For styling and responsive design.
- jQuery 3.5.1: For DOM manipulation.
- Popper.js: For Bootstrap's JavaScript components.
-
Clone this repository to your local machine:
git clone https://github.com/Darshanas17/Addition-Game.git
-
Navigate to the project folder:
cd Addition-Game
-
Open
index.html
in your web browser to start the game.
Feel free to fork this repository and submit pull requests with improvements or bug fixes. Contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
- Fonts from Google Fonts.