We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95ded7a commit 2f5b5edCopy full SHA for 2f5b5ed
1 file changed
task05-change-style-on-click/README.md
@@ -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