Too Long; Didn't Read
Hand-picked some of the most useful code snippets from 30 seconds of code. This article answers common questions you may face in your project. It’s an awesome resource, go ahead and show it some love. In this article, I tried to sort them based on their practical use, answering common questions. The snippets include how to hide all elements specified, how to get the scroll position of the current page and how to smooth-scroll to the top of the page. If you have any questions, feel free to reach out!