Skip to content

spl3ndid/Minimalistic-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Minimalistic Calculator

This is a minimalistic web-based calculator built using HTML, CSS, and JavaScript. It features basic arithmetic operations and a sleek, responsive design.

Features

  • 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.

Demo

Calculator Screenshot

Installation

To run this calculator locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/spl3ndid/Minimalistic-Calculator.git
  2. Navigate to the project directory:

    cd app
  3. Open the index.html file in your web browser:

    open index.html

Usage

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.

Contributing

Contributions are welcome! If you have suggestions or improvements, please feel free to open an issue or submit a pull request.

Acknowledgements

  • Inspired by the simplicity and efficiency of classic calculator designs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published