We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79e218a commit 4c5b31cCopy full SHA for 4c5b31c
1 file changed
task05-change-style-on-click/script.js
@@ -1,5 +1,5 @@
1
const heading = document.getElementById("heading");
2
-const button = document.getElementById("button");
+const button = document.getElementById("click");
3
4
const originalText = heading.textContent;
5
const newtext = "Updated!";
@@ -22,3 +22,4 @@ button.addEventListener("click", () => {
22
}
23
24
});
25
+
0 commit comments