This is a basic calculator built using HTML, CSS, and Vanilla JavaScript. It performs simple arithmetic operations like addition, subtraction, multiplication, and division.
- Basic arithmetic operations: Addition, Subtraction, Multiplication, Division, Modulo
- Decimal point support (e.g.
3.14 + 2.1) - Input correction with Backspace (
<----) - Clear button (
C) to reset the calculator - Evaluates only one operation at a time
- Automatically evaluates ongoing expressions (e.g.
12 + 7 - 3) - Handles division by zero with a custom error message
- Prevents invalid input like multiple decimal points in a number
- Clean and responsive UI
- HTML5
- CSS3
- Vanilla JavaScript
The link for the calculator is in the About section of this GitHub repository.