Skip to content

Commit c422b2f

Browse files
authored
add button functionality
1 parent 8a1e574 commit c422b2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

script.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11

2-
const compare = document.getElementById("#div-compare");
3-
const original = document.getElementById("#div-original");
2+
const compare = document.getElementById("div-compare");
3+
const original = document.getElementById("div-original");
44

5-
const originalHide = document.getElementById("#button-original");
6-
const compareHide = document.getElementById("#button-original");
5+
const originalHide = document.getElementById("button-original");
6+
const compareHide = document.getElementById("button-original");
77

88
function originalFunc() {
99

0 commit comments

Comments
 (0)