An open API service indexing awesome lists of open source software.

https://github.com/racoolstudio/jssimplecalculator


https://github.com/racoolstudio/jssimplecalculator

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Js Simple Calculator

Welcome to the JS Simple Calculator project! This straightforward JavaScript calculator allows you to perform basic arithmetic operations effortlessly.

## How to Use

1. Open the `index.html` file in your web browser.

2. Input Numbers: Enter numerical values into the "num1" and "num2" input fields.

3. Perform Operations:
- Click the "Add" button to find the sum.
- Click the "Subtract" button to find the difference.
- Click the "Multiply" button to find the product.
- Click the "Divide" button to find the quotient.

4. View Results: The result of the operation will be displayed below the buttons.

## Sample Usage

```plaintext
Input:
num1: 10
num2: 5

Operations:
- Click "Add" ➔ Result: 15
- Click "Subtract" ➔ Result: 5
- Click "Multiply" ➔ Result: 50
- Click "Divide" ➔ Result: 2.00