Smooth page scrolling using JavaScript
Read more
A simple and effective implementation of smooth page scrolling in pure JavaScript
How to show/hide element on click
Read more
In my opinion, this is the easiest option when you need to show and hide an element by click the same button. For example, this is how I always implement menus for mobile devices.