How prathampatel79/habbit-tracker works
This small habit-tracker page lets a user click Add, then displays the entered habit. The handler’s event registration and DOM reads/writes are visible in script.js; index.html and style.css were not sampled, so UI details are limited to the elements named by the handler.
Main entry points: script.js Add handler · index.html Add button
Components 5
Other components
- User
- Add button
index.html - Add handler
script.js - Habit input
index.html - Habit display
index.html
Connections 4
- User → Add button: clicks
- Add button → Add handler: triggers
script.js - Add handler → Habit input: reads
script.js - Add handler → Habit display: writes
script.js