We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bb8569 commit 5977494Copy full SHA for 5977494
1 file changed
task05-change-style-on-click/script.js
@@ -9,7 +9,7 @@ button.addEventListener("click", () => {
9
if (!isUpdated) {
10
heading.textContent = newtext;
11
heading.style.backgroundColor = "red";
12
- heading.style.color = "black";
+ heading.style.color = "white";
13
button.textContent = "Click to Revert";
14
isUpdated = true;
15
}
@@ -24,3 +24,4 @@ button.addEventListener("click", () => {
24
});
25
26
27
+
0 commit comments