Skip to content

Commit 0c14a69

Browse files
authored
Create README.md
1 parent c68d0a7 commit 0c14a69

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Task 07 – Show / Hide Paragraph
2+
3+
## ✅ Objective:
4+
Toggle visibility of a paragraph using a single button.
5+
6+
## 💡 Concepts Practiced:
7+
- Class toggling
8+
- `classList.add`, `remove`, and `toggle`
9+
- Basic hide/show logic
10+
11+
## 📘 What I Learned:
12+
- How to show/hide elements using CSS classes.
13+
- Simple toggle techniques using JavaScript.
14+
15+
## ▶️ Example Flow:
16+
1. Paragraph is visible by default.
17+
2. Click → paragraph hides.
18+
3. Click again → shows back.

0 commit comments

Comments
 (0)