How xzawar/lab-2-web works
This is a small static profile page with a contact form. Visitors submit a name and topic, which the page saves in browser localStorage and restores on later visits; they can also clear the saved values. The README documents semantic HTML and accessible form fields, but the HTML excerpts were not provided, so page-to-script wiring is not verified. The graph shows the form behavior visible in script.js and the documented page capabilities.
Main entry points: script.js Form handlers · index.html Contact form
Components 5
Profile page
- Profile page
index.html - Contact form
index.html
Form behavior
- Form handlers
script.js - Browser localStorage
Other components
- Visitor
Connections 6
- Visitor → Profile page: views
README.md - Visitor → Contact form: submits
README.md - Contact form → Form handlers: triggers
script.js - Form handlers → Browser localStorage: writes
script.js - Browser localStorage → Form handlers: restores
script.js - Visitor → Form handlers: clears saved data
script.js