skip to Main Content

Responsive page with javaScript

I have a container which I want to hide when screen is less than 1000px. css .desktop-links { display: none; } .active { display: block; } .in-active { display: none; } JavaScript: const desktopLinks = document.querySelector('.desktop-links'); shareBtn.addEventListener('click', () => {…

VIEW QUESTION
Back To Top
Search