Neville03/add-scroll-effect-const-navbar-t-69xf8fkhkmx
0
create a backend that allows logins and passowrds to be stored securely while creating components to fill each part one could possibly navigate to
`; // Add scroll effect const navbar = this.shadowRoot.querySelector('.navbar'); window.addEventListener('scroll', () => { if (window.scrollY > 50) { navbar.classList.add('navbar-scrolled'); } else { navbar.classList.remove('navbar-scrolled'); } }); } } customElements.define('custom-navbar', CustomNavbar); `; } } customElements.define('custom-footer', CustomFooter); this shows on my webpage fix it
initial commit
