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 fbcf48e commit a30d89fCopy full SHA for a30d89f
index.js
@@ -69,7 +69,7 @@ loginBtn.addEventListener('click', () => {
69
70
// to show and hide the back-to-top button
71
window.addEventListener("scroll", () => {
72
- if (window.pageYOffset > 300) { console.log(window.pageYOffset);
+ if (window.pageYOffset > 300) {
73
backToTop.classList.add("active");
74
} else {
75
backToTop.classList.remove("active");
0 commit comments