Skip to content

Commit 55939c8

Browse files
authored
Merge pull request #35 from Supravisor/deploy
add button functionality
2 parents 7f1712b + 0e81745 commit 55939c8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ <h2>Diff checker</h2>
2323
</div>
2424

2525
<div id="buttons">
26-
<button>Hide Original</button>
27-
<button>Hide Compare</button>
26+
<button id="button-original">Hide Original</button>
27+
<button id="button-compare">Hide Compare</button>
2828
</div>
2929

30-
</div>
30+
<script src="script.js"></script>
3131
</body>
3232
</html>

script.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
const compare = document.getElementById("#div-compare");
3+
const original = document.getElementById("#div-original");

0 commit comments

Comments
 (0)