Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Simple Calculator

This web-based calculator mimics the functionality of a standard pocket calculator, supporting basic arithmetic operations like addition, subtraction, multiplication, division, as well as percentage calculations.

Features

  • Basic Arithmetic Operations: Perform addition (+), subtraction (-), multiplication (*), and division (/).
  • Percentage Calculation: Easily find the percentage of a number with the % button.
  • Clear Functionality: Reset the calculator completely with the 'AC' button.

Setup

To run this calculator on your local machine, follow these steps:

Prerequisites

Ensure you have a modern web browser installed (Google Chrome, Mozilla Firefox, Microsoft Edge, etc.).

Running the Calculator

  1. Clone or download this repository to your local machine. If you have Git installed, you can clone it using the following command: Alternatively, you can download the repository as a ZIP file and extract it.

  2. Navigate to the project directory where the repository has been cloned or downloaded and extracted.

  3. Open the index.html file in your web browser. You can usually do this by right-clicking the file and selecting "Open with" and then choosing your browser.

Usage

  • Using the Mouse: Click on the buttons on the calculator to enter numbers and operations.

Contributing

Contributions to this project are welcome! Here's how you can contribute:

  • Fork the repository: Click on the 'Fork' button at the top of this page.
  • Create your feature branch: git checkout -b feature/AmazingFeature
  • Commit your changes: git commit -m 'Add some AmazingFeature'
  • Push to the branch: git push origin feature/AmazingFeature
  • Submit a pull request: Go to the 'Pull Requests' tab and hit 'New pull request'.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages