A clean, responsive, and beginner-friendly To-Do List App built with HTML, CSS, and Vanilla JavaScript, featuring task creation, completion toggling, deletion, and localStorage support to keep tasks saved even after refreshing the page.
This project is perfect for learning DOM manipulation, event handling, and small-scale front-end application development.
Users can type any task and click Add or press Enter to instantly create a new task.
Click on any task to toggle its completed state (strikethrough + checkmark icon).
Each task includes a delete (×) button to remove it instantly.
All tasks are automatically saved in the browser—your list stays intact even after page reloads.
Smooth animations, rounded design, gradient background, and responsive layout.
No frameworks, no libraries — pure JavaScript, HTML & CSS.
todo-list-app/
│
├── index.html
├── style.css
├── script.js
├── README.md
├── .gitignore
└── images/
├── icon.png
├── checked.png
└── unchecked.png
- HTML5 – Structure of the application
- CSS3 – Styling, layout, animations
- JavaScript (ES6) – Application logic
- LocalStorage API – Saving tasks permanently
-
Download or clone this repository:
git clone https://github.com/YOUR_USERNAME/todo-list-app.git
-
Open the project folder.
-
Double-click index.html to launch the app in your browser.
- Install the Live Server extension in VS Code.
- Right-click
index.html→ Open with Live Server.
-
Go to your repo → Settings
-
Scroll to Pages
-
Select:
- Source:
main - Folder:
/root
- Source:
-
Click Save
Your live app will appear at:
https://YOUR_USERNAME.github.io/todo-list-app/
- DOM manipulation
- JavaScript event handling
- Working with dynamic DOM elements
- LocalStorage for persistent data
- UI styling with CSS
- Structuring a front-end project
- Deploying static sites on GitHub Pages
Here are some optional enhancements you can add later:
- Edit tasks feature
- Search / filter tasks
- Dark / Light mode toggle
- Clear all completed tasks
- Animation effects on add/delete
Contributions, suggestions, and improvements are welcome! Feel free to fork the repository and submit a pull request.
This project is open-source and available under the MIT License.
If you need help or want more JavaScript projects, feel free to reach out!