Love Maths is a fun and interactive math quiz game built with HTML, CSS, and JavaScript.
We All Love Maths is a web-based application that challenges users to solve maths problems across four operations: addition, subtraction, multiplication, and division. The game tracks correct and incorrect answers, providing instant feedback to let users know if they have submitted the correct answer.
This project has been deployed using GitHub Pages.
To deploy the site, I navigated to the repository's Settings tab. Scrolled down to the Pages section in the left-hand menu. Under source I selected the main branch and set the root folder (/) as the source. GitHub Pages automatically deployed the webpage and after a few minutes a live site link was available.
You can find the link here: https://verytee.github.io/love-maths/
This application works on all modern browsers including Google Chrome.
- Four Maths Operations: Addition (+), Subtraction (-), Multiplication (×), and Division (/)
- Score Tracking: Keep track of correct and incorrect answers in real-time
- Responsive Design: Optimised for desktop, tablet, and mobile devices
- Instant Feedback: Get immediate answers
- User-Friendly Interface: Colour coded operation buttons and easy to use
I created wireframes for the project using Balsamiq.
- Click one of the four operation buttons (green for +, blue for -, orange for ×, red for /)
- A maths question will appear on screen
- Enter your answer in the input box
- Click submit, or press enter to check your result
- Your score updates with each correct or incorrect answer
- If you're having fun then keep playing!
love-maths/
├── index.html # Main HTML structure
├── README.md # Project documentation
├── assets/
│ ├── css/
│ │ └── styles.css # Styling and responsive design
│ ├── js/
│ │ └── script.js # Game logic and interactivity
│ ├── images/
│ │ └── logo.webp # Heart logo image
│ └── docs/ # Documentation files
- HTML - For markup and structure
- CSS - Styling with responsive media queries
- JavaScript - Game logic, event handling, and score management
- Font Awesome - Icon library for operation symbols
- Google Fonts - Raleway and Righteous selected as fonts
Possible improvements for future versions:
- Difficulty levels (easy, medium, hard)
- Timed challenges
- Leaderboard system
This project is open source and available for educational use.
