How amenallah-u/todo-list works
This is a small browser-based to-do app. Users manage tasks through the page; JavaScript updates task state, renders the list, and persists it. Search and drag-and-drop operate on the rendered list, while theme and task appearance preferences provide separate customization. The source excerpt shows these runtime relationships; page markup and styling are represented by their paths, but their contents were not sampled.
Main entry points: index.html Task page · script.js List renderer · style.css Page styling
Components 12
Task management
- Task page
index.html - Task actions
script.js - Task state
script.js - List renderer
script.js
List interactions
- Task search
script.js - Drag and drop
script.js
Preferences and storage
- Task appearance
script.js - Dark mode
script.js - Persistence logic
script.js - Page styling
style.css
Other components
- User
- Browser localStorage
Connections 14
- User → Task page: uses
README.md - Task page → Task actions: accepts actions
README.md - Task actions → Task state: updates
script.js - Task actions → List renderer: calls render
script.js - List renderer → Task page: updates DOM
script.js - List renderer → Persistence logic: saves tasks
script.js - Task search → Task page: filters list
script.js - Drag and drop → Task state: swaps tasks
script.js - Drag and drop → List renderer: calls render
script.js - Task appearance → Task page: styles input
script.js - Dark mode → Task page: toggles theme
script.js - Dark mode → Persistence logic: saves preference
script.js - Persistence logic → Browser localStorage: reads and writes
script.js - Task page → Page styling: styled by