How cristian-obreja/calculator works
This is a small browser calculator. The user enters expressions through the page; script.js handles button clicks, clears the display for C, evaluates the displayed expression for =, and otherwise appends the clicked text. The page and stylesheet are present in the tree, but their contents were not sampled, so their detailed structure and wiring are not shown.
Main entry points: index.html Calculator page · script.js Click logic
Components 4
Other components
- User
- Calculator page
index.html - Click logic
script.js - Page styles
style.css
Connections 2
- User → Calculator page: uses
- Click logic → Calculator page: updates display
script.js