Skip to content

Commit 2f5b5ed

Browse files
authored
Create README.md
1 parent 95ded7a commit 2f5b5ed

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Task 05 – Change Style on Click
2+
3+
## ✅ Objective:
4+
Change the style (color or font) of an element when a button is clicked.
5+
6+
## 💡 Concepts Practiced:
7+
- `style` property in JavaScript
8+
- Inline style changes using JS
9+
10+
## 📘 What I Learned:
11+
- How to change CSS styles dynamically via JavaScript.
12+
- Basic usage of the `.style` object.
13+
14+
## ▶️ Example Flow:
15+
1. Initial heading with normal style.
16+
2. Click button → changes color and font size.

0 commit comments

Comments
 (0)