https://github.com/racoolstudio/jssimplecalculator
https://github.com/racoolstudio/jssimplecalculator
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/racoolstudio/jssimplecalculator
- Owner: racoolstudio
- Created: 2023-11-18T02:22:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-18T02:58:59.000Z (over 2 years ago)
- Last Synced: 2025-03-30T04:12:22.388Z (about 1 year ago)
- Language: CSS
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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