This is a basic JavaScript to-do list project that demonstrates how to:
- Dynamically add tasks to an HTML list
 - Save tasks in the browser's 
localStorage - Automatically load saved tasks when the page is refreshed
 - Enable and disable the submit button based on user input
 - Remove tasks from both the UI and storage on click
 
- 💾 Persistent storage using 
localStorage - 📝 Simple input field to add tasks
 - ❌ Click-to-remove tasks
 - 🔒 Disabled submit button until input is provided
 - 🔁 Automatic loading of tasks on page load
 
- When the page loads, it checks if there are tasks in 
localStorage. If not, it initializes an empty list. - When the user types something in the input, the "Submit" button becomes enabled.
 - When the user submits the form:
- A new 
<li>element is created and added to the list. - The task is added to the array stored in 
localStorage. 
 - A new 
 - Clicking a task removes it from the list and updates 
localStorage. 
Just open index.html in your browser. No server or installation needed.
Key components:
DOMContentLoadedevent to initialize everythingonsubmithandler to create tasksonkeyuphandler to manage button statelocalStoragefor persistent task storageupdateStorage()function to sync storage after deletions
