This is a minimalistic web-based calculator built using HTML, CSS, and JavaScript. It features basic arithmetic operations and a sleek, responsive design.
- Basic arithmetic operations: addition, subtraction, multiplication, and division.
- Keyboard support for numeric keys, operators, decimal point, Enter key (for equals), Escape key (for clear), and Backspace (for removing the last digit).
- Clean and modern design with smooth animations on button hover.
- Responsive layout that works well on both desktop and mobile devices.
To run this calculator locally, follow these steps:
-
Clone the repository:
git clone https://github.com/spl3ndid/Minimalistic-Calculator.git
-
Navigate to the project directory:
cd app
-
Open the
index.html
file in your web browser:open index.html
Once the calculator is open in your browser, you can interact with it using both mouse and keyboard:
- Mouse Interaction: Click on the buttons to input numbers and operations.
- Keyboard Interaction:
- Numeric keys (0-9) to input numbers.
- Operators (+, -, *, /) for arithmetic operations.
.
for decimal point.Enter
or=
to calculate the result.Escape
to clear the calculator.Backspace
to remove the last digit.
Contributions are welcome! If you have suggestions or improvements, please feel free to open an issue or submit a pull request.
- Inspired by the simplicity and efficiency of classic calculator designs.