How 10101kin/sum-two-test works
Sum Two is a minimal browser app: the user enters two values, submits the form, and sees either their sum or a validation message. The JavaScript excerpt shows input parsing, finite-number checks, addition, and inline feedback updates. The HTML-to-script wiring was not excerpted, so that relationship is shown as unverified.
Main entry points: script.js Input Validation · index.html Number Form
Components 5
Other components
- User
- Number Form
index.html - Input Validation
script.js - Addition
script.js - Inline Feedback
index.html
Connections 5
- User → Number Form: enters and submits
README.md - Number Form → Input Validation: submits to
- Input Validation → Addition: valid values enable
script.js - Addition → Inline Feedback: displays result
script.js - Input Validation → Inline Feedback: shows errors
script.js