This is a simple, stylish To-Do List web application built using HTML, CSS, and JavaScript. It allows users to add, delete, and display tasks dynamically with real-time feedback.
index.html– Contains the structure of the To-Do application.todo.css– Stylesheet for designing a modern glassmorphic UI.todo.js– JavaScript functionality for adding, deleting, and displaying tasks.
-
✅ Add Tasks
Users can enter a task and clickAddto store it in memory. -
❌ Delete Tasks
Users can type a task name into the delete field and clickDeleteto remove it. -
📃 Display Tasks
ClickingDisplaywill list all currently stored tasks. -
🔍 Validation
Prevents empty task input and handles non-existent deletion attempts. -
🎨 Modern UI
- Glassmorphic form container
- Responsive button hover effects
- Clean typography using Google Fonts (Poppins)
-
Make sure all files are in the same directory:
/project-folder ├── index.html ├── todo.css ├── todo.js └── background.jpg (optional for full design) -
Open
index.htmlin a browser. -
Interact with the interface:
- Type in a task and click Add
- Type a task name and click Delete
- Click Display to view all current tasks
- Font: Poppins
- Background: Optional image via
background.jpgset in CSS. - Container: Uses
backdrop-filter: blur(15px)for a glass effect.
- Store tasks in
localStoragefor persistence - Add due dates or priority
- Add edit/update functionality
- Mobile responsiveness improvements
- Ensure the background image path in
todo.css:background: url("/background.jpg");