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 f2da01d commit bb83dd5Copy full SHA for bb83dd5
10-scroll/final/app.js
@@ -40,7 +40,10 @@ window.addEventListener("scroll", function () {
40
navbar.classList.remove("fixed-nav");
41
}
42
// setup back to top link
43
- if (height > 500) {
+
44
+ if (scrollHeight > 500) {
45
+ console.log("helo");
46
47
topLink.classList.add("show-link");
48
} else {
49
topLink.classList.remove("show-link");
10-scroll/final/styles.css
@@ -365,7 +365,6 @@ footer p {
365
border-radius: var(--radius);
366
color: var(--clr-white);
367
animation: bounce 2s ease-in-out infinite;
368
-
369
visibility: hidden;
370
z-index: -100;
371
0 commit comments