A beginner-friendly Todo List app built using only HTML and JavaScript — no frameworks, no CSS libraries. Tasks persist in the browser using localStorage, so your list stays even after a page refresh.
- Add new tasks from an input field
- Edit existing tasks with a prompt
- Delete tasks individually
- Tasks are saved in localStorage (survive page refresh)
- Dynamic DOM rendering — no page reloads
- Clean, minimal, beginner-friendly code
- HTML5
- Vanilla JavaScript (DOM APIs, Event Listeners, localStorage)
- VS Code + Live Server
- User types a task and clicks Add Task.
- The task is pushed into a
tasksarray. - The array is saved to
localStorageas JSON. renderTasks()rebuilds the list in the DOM, attaching Edit and Delete buttons to each item.- On page load, tasks are read back from
localStorageand rendered automatically.
git clone https://github.com/your-username/yt-06-todo-list.git
cd yt-06-todo-list