Skip to content

adityadhiman-in/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Pro

Preview Image

GitHub license GitHub issues GitHub stars GitHub forks

A simple and elegant calculator built with HTML, CSS, and JavaScript. This calculator can perform basic arithmetic operations and includes features for clearing input and deleting the last character.

Table of Contents

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, division.
  • Clear (AC) button to reset the display.
  • Delete (DE) button to remove the last character.
  • Real-time display of the input and result.
  • Error handling for unsupported operations.

Demo

You can try the live demo of the calculator here.

Installation

To run this project locally, follow these steps:

  1. Clone the repository:
    git clone https://github.com/adityadhiman-in/calculator
  2. Navigate to the project directory:
    cd calculator-pro
  3. Open index.html in your web browser.

Usage

  1. Click on the buttons to input numbers and operations.
  2. Use the AC button to clear the display.
  3. Use the DE button to delete the last character.
  4. Click = to evaluate the expression and display the result.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repository and create a pull request. You can also simply open an issue with the tag "enhancement".

Contact

Feel free to reach out if you have any questions or suggestions!

Made with ❤️ by Aditya Dhiman

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published