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