How saaheel05/todo-app-using-js works
This is a small browser-based task list. Its script reads task text, creates list items, and handles clicks on the list to toggle completion or remove items. The supplied source does not show how addTask is invoked, nor the contents of the HTML or CSS, so those connections are not inferred.
Main entry points: script.js Task list
Components 5
Other components
- User
- Task input
script.js - Add task
script.js - Task list
script.js - List click handler
script.js
Connections 6
- Task input → Add task: reads text
- Add task → Task list: appends task
- Add task → Task input: clears text
- User → Task list: clicks
- Task list → List click handler: dispatches click
- List click handler → Task list: toggles or removes