File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,13 @@ function originalFunc() {
1010 if ( originalHide . innerText === "Hide Original" ) {
1111 original . style . display = "none" ;
1212 originalHide . innerText = "Show Original" ;
13+ originalHide . style . background = "Blue" ;
1314 }
1415
1516 else {
1617 original . style . display = "unset" ;
1718 originalHide . innerText = "Hide Original" ;
19+ originalHide . style . background = "SkyBlue" ;
1820 }
1921
2022}
@@ -24,11 +26,13 @@ function compareFunc() {
2426 if ( compareHide . innerText === "Hide Compare" ) {
2527 compare . style . display = "none" ;
2628 compareHide . innerText = "Show Compare" ;
29+ compareHide . style . background = "Red" ;
2730 }
2831
2932 else {
3033 compare . style . display = "unset" ;
3134 compareHide . innerText = "Hide Compare" ;
35+ compareHide . style . background = "Pink" ;
3236 }
3337
3438}
Original file line number Diff line number Diff line change @@ -47,3 +47,18 @@ textarea {
4747 width : 200px ;
4848 gap : 40px ;
4949}
50+
51+
52+ button {
53+ font-size : 1.2em ;
54+ border-radius : 7px ;
55+ padding : 5px ;
56+ }
57+
58+ # button-original {
59+ background : SkyBlue;
60+ }
61+
62+ # button-compare {
63+ background : Pink;
64+ }
You can’t perform that action at this time.
0 commit comments