Skip to content

Commit 4481f6c

Browse files
authored
Create README.md
1 parent f0c464a commit 4481f6c

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Task 10 – Add List Items Dynamically
2+
3+
## ✅ Objective:
4+
Add a new list item to the existing list whenever the user types a task and clicks a button.
5+
6+
## 💡 Concepts Practiced:
7+
- DOM element creation using `createElement`
8+
- Appending child elements
9+
- Reading user input
10+
11+
## 📘 What I Learned:
12+
- Creating and appending new elements to the DOM.
13+
- How to build dynamic lists with JavaScript.
14+
15+
## ▶️ Example Flow:
16+
1. User types “Buy Milk”.
17+
2. Click → Adds “Buy Milk” to list.
18+
3. Input clears automatically.

0 commit comments

Comments
 (0)