https://github.com/polymathuniversata/calculator-app
https://github.com/polymathuniversata/calculator-app
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/polymathuniversata/calculator-app
- Owner: polymathuniversata
- Created: 2024-01-15T19:03:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-17T19:02:37.000Z (about 1 year ago)
- Last Synced: 2025-05-17T20:19:03.856Z (about 1 year ago)
- Language: HTML
- Homepage: https://calculator-app-two-delta.vercel.app
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple Calculator
This is a simple calculator web application with an additional square root function.
## Features
- Basic arithmetic operations: addition, subtraction, multiplication, division.
- Square root function.
## How to use
1. Open `index.html` in your web browser.
2. Use the buttons to input numbers and perform calculations.
3. Press the "C" button to clear the display.
## Running Tests
1. Open `tests/test.js` in a text editor.
2. Adjust the test cases as needed.
3. Open `index.html` in your web browser.
4. Open the browser console (usually by right-clicking and selecting "Inspect," then navigating to the "Console" tab).
5. Run the tests by calling `testCalculator()` in the console.
## Notes
- Avoid using the calculator for complex calculations, as it's a simple example for learning purposes.
- For educational purposes only.