This is a simple on-screen calculator web application built using HTML, CSS, and JavaScript. With this calculator, you can perform basic arithmetic calculations such as addition, subtraction, multiplication, and division.
- Basic arithmetic operations (addition, subtraction, multiplication, division)
- Clear button to reset the calculator
- Equals button to calculate and display results
- Responsive design for various screen sizes
To run this calculator locally, follow these steps:
-
Clone this repository to your local machine:
git clone https://github.com/Alpattex/on-screen-calculator.git
-
Navigate to the project directory:
cd on-screen-calculator
-
Open the
index.html
file in your web browser to use the calculator.
- Click the numeric buttons to enter numbers.
- Click the operator buttons (+, -, *, /) to select an operation.
- Click the "=" button to calculate the result.
- Click the "C" button to clear the calculator and start over.
- You can also use your keyboard for input (numeric keys and operators).
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and test thoroughly.
- Commit your changes with clear and concise commit messages.
- Push your branch to your forked repository.
- Submit a pull request to the original repository.
This project is licensed under the MIT License. See the LICENSE file for details.
- This project was created as a learning exercise for based on The Odin Project for web development.
- Inspiration for this calculator comes from various online tutorials and examples.
If you have any questions or feedback, feel free to contact the project maintainer:
GitHub: Alpattex