This is a calculator implemented using HTML, CSS, and JavaScript. Simple UI that provides basic arithmetic operations like adding, subtracting, etc.
- Addition
- Subtraction
- Multiplication
- Division
- Clear all button to reset operation
- Backspace to edit displayed number
- Numbers with decimal points are valid
- Keyboard Support
- Clone the repository to local machine
- Open the 'index.html' file on your browser of choice
- Use the calculator by clicking on the UI or using your keyboard
- If you prefer not to clone the repo you can access a live preview of this calculator here
You can use your keyboard to control the calculator.
- Use any number key (0-9) to add the numbers to display
- Use any of the following operator keys:
- Addition: +
- Subtraction: -
- Multiplication: *
- Division: /
- Pressing Enter key will calculate the results.
- Use Backspace to delete the last character.
- Use the . key to add a decimal point to the current number.
- To clear all operations and display use the Del key.