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.
app-ideas/Projects/calculator-js
delta student 3c3cebfaad
Fix keyboard handler: Escape clears input, remove parentheses input
4 months ago
..
README.md Feature: Implemented calculator layout with responsive UI and functional arithmetic operations 4 months ago
index.html Feature: Implemented calculator layout with responsive UI and functional arithmetic operations 4 months ago
script.js Fix keyboard handler: Escape clears input, remove parentheses input 4 months ago
style.css Feature: Implemented calculator layout with responsive UI and functional arithmetic operations 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

  1. Open index.html in a browser.
  2. Use the buttons or keyboard to enter the expression.
  3. Press = or Enter to evaluate.
  4. Input remains visible; result appears below input.

Notes for maintainers

  • Files added under projects/calculator-js/
  • No external dependencies