How pradeep11022004/calculator-app works
This is a small browser calculator. The user enters arithmetic through the page; JavaScript updates the display, clears input, and evaluates expressions with eval(), showing ERROR when evaluation throws. The README also documents percentage, decimals, 00, and clear controls. The HTML and CSS are present in the tree but were not sampled, so their event and styling wiring is not verified.
Main entry points: index.html Calculator page · calculator.js Calculator logic
Components 4
Other components
- User
- Calculator page
index.html - Calculator logic
calculator.js - Responsive styling
calculator.css
Connections 3
- User → Calculator page: enters values
README.md - Calculator page → Calculator logic: triggers controls
- Calculator logic → Calculator page: updates display
calculator.js