A high-performance To-Do application featuring full CRUD capabilities, dual-theme support, and persistent data storage.
- Full CRUD: Create, Read, Update, and Delete tasks seamlessly.
- Integrated Theme Engine: Light/Dark mode toggle with persistence (Integrated from Day 2 logic).
- Persistent Storage: Uses
localStorageto save both the task list and user theme preferences. - Optimized Performance: Implements Event Delegation to manage list interactions efficiently.
- XSS Prevention: Utilized
textContentfor data injection to prevent script injection attacks. - Input Validation: Added whitespace trimming and empty-field prevention.
- Modular CSS: Built using CSS Custom Properties (Variables) for easy theme scalability.
- DOM Manipulation:
createElement,appendChild, andparentElement.remove(). - Event Handling:
keydownsupport for a "no-mouse" user experience. - Data Segregation: Managing multiple keys in
localStoragewithout data collision.