We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b98701c commit 8ad30e7Copy full SHA for 8ad30e7
1 file changed
task02-toggle-button-text/README.md
@@ -0,0 +1,18 @@
1
+# Task 02 – Toggle Button Text
2
+
3
+## ✅ Objective:
4
+Change the button text from "Start" to "Stop" and toggle it back on each click.
5
6
+## 💡 Concepts Practiced:
7
+- Event listeners for buttons
8
+- Conditional logic to toggle text
9
+- DOM manipulation
10
11
+## 📘 What I Learned:
12
+- How to handle dynamic text changes on the button itself.
13
+- Better understanding of click events and conditions.
14
15
+## ▶️ Example Flow:
16
+1. Initial button text: “Start”
17
+2. Click → changes to: “Stop”
18
+3. Click again → back to: “Start”
0 commit comments