We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e81745 commit 598f792Copy full SHA for 598f792
script.js
@@ -1,3 +1,20 @@
1
2
const compare = document.getElementById("#div-compare");
3
const original = document.getElementById("#div-original");
4
+
5
+const originalHide = document.getElementById("#original-button");
6
+const compareHide = document.getElementById("#compare-button");
7
8
+function original() {
9
10
+ if (originalHide.innerText === "Hide Original") {
11
+ original.style.display = "none";
12
+ originalHide.innerText = "Show Original";
13
+ }
14
15
+ else {
16
+ originalHide.innerText = "Hide Original";
17
+ original.style.display = "unset";
18
19
20
+}
0 commit comments