This is a simple calculator web application built using HTML, CSS, and JavaScript. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. The calculator provides instant results and supports decimal numbers.
Try out the calculator live here.
- Click on the number and operator buttons to input your calculation.
- Press the "=" button to see the result.
- Use the "C" button to clear the calculation.
This calculator supports the following operations:
- Addition (+): Click the "+" button to add numbers together.
- Subtraction (-): Click the "-" button to subtract numbers.
- Multiplication (×): Click the "×" button to multiply numbers.
- Division (÷): Click the "÷" button to divide numbers.
- Modulus (%): Click the "%" button to calculate the remainder of division.
- Decimal numbers: Click the "." button to input decimal numbers.
- Cancel: Click the "X" button to delete the last entered character.
- Clear (C): Click the "C" button to clear the entire calculation.
Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.
This project is licensed under the MIT License.