You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 months ago | |
|---|---|---|
| .. | ||
| README.md | 4 months ago | |
| index.html | 4 months ago | |
| script.js | 4 months ago | |
| style.css | 4 months ago | |
README.md
Calculator (mini project)
Simple calculator implemented with HTML, CSS and JavaScript.
Features
- Basic operations: +, -, *, /
- Decimal support
- Percent handling (e.g., 50% → 0.5)
- Handles division by zero gracefully (shows "Error")
- Input and result displayed separately
How to use
- Open
index.htmlin a browser. - Use the buttons or keyboard to enter the expression.
- Press
=or Enter to evaluate. - Input remains visible; result appears below input.
Notes for maintainers
- Files added under
projects/calculator-js/ - No external dependencies