A simple and interactive 📝 To-Do List web application built using HTML, CSS, and JavaScript. This app allows users to add tasks, view them in a list, and remove completed tasks. The tasks are stored locally using localStorage 📁, ensuring that they persist across page reloads.
- ➕ Add new tasks to your to-do list.
- 🗑️ Delete tasks with a simple button click.
- 💾 Local storage support to persist tasks across sessions.
- 🎨 Clean and responsive user interface.
- 🌐 HTML: Structure and content of the web page.
- 🎨 CSS: Styling and layout using Flexbox.
- ⚡ JavaScript: Interactivity for adding/removing tasks and local storage functionality.
To run this project locally, follow these steps:
-
Clone this repository:
git clone https://github.com/NilanshuBasnet/TodoList.git
-
Open the project folder in your preferred code editor.
-
Open the
index.htmlfile in your web browser.
📄 index.html: The main HTML file containing the structure of the app.🎨 style.css: The stylesheet for the app’s visual design.⚙️ script.js: JavaScript file to handle task addition, deletion, and local storage.
- ➕ Add Task: The user can type a task in the input field and click the "Add Task" button to add it to the list. Tasks are saved in the local storage to ensure persistence.
- 🗑️ Delete Task: Each task has a delete button (represented by a bin icon). When clicked, the task is removed from the list, and the local storage is updated accordingly.

