Calculator in HTML, CSS and Javascript.
- Basic arithmetic operations: The calculator supports addition, subtraction, multiplication, and division.
- Decimal point: The calculator has a decimal point button, allowing you to enter decimal numbers.
- Clear button: The calculator has an "AC" button that clears the display.
- Delete button: The calculator has a "DE" button that deletes the last character entered in the display.
- Equal button: The calculator has an "=" button that evaluates the expression entered in the display and displays the result.
-
Enter the numbers and operators of the expression you want to evaluate into the text input field using the on-screen buttons or your keyboard.
-
Use the following buttons to perform the desired operation:
- Addition: Click the "+" button.
- Subtraction: Click the "-" button.
- Multiplication: Click the "x" button.
- Division: Click the "÷" button.
- Click the "=" button or press the Enter key on your keyboard to evaluate the expression and display the result.
- If you need to clear the input field, click the "AC" button to clear everything, or click the "DE" button to delete the last character entered.
- You can use the decimal point button to enter decimal numbers.