This is a simple calculator web app built using HTML, CSS, and JavaScript. It provides basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Addition, subtraction, multiplication, and division operations.
- Responsive design for a pleasant user experience on various devices.
- Error handling for invalid mathematical expressions.
You can see a live demo of the calculator here.
To run the calculator locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Ismat-Samadov/Calculator.git
-
Open the
index.html
file in a web browser.
- Press the buttons to input numbers and operators.
- Use the
C
button to clear the display. - Press
=
to calculate the result. - The result will be displayed in the input field.
Contributions are welcome! If you have any improvements or bug fixes, feel free to open an issue or submit a pull request.
- Fork the repository.
- Create your feature branch:
git checkout -b feature/my-feature
- Commit your changes:
git commit -am 'Add my feature'
- Push to the branch:
git push origin feature/my-feature
- Open a pull request.