jQuery Tips — Scrolling, Drop Downs, props vs attr

Photo by Ruchindra Gunasekara on Unsplash

Despite its age, jQuery is still a popular library for manipulating the DOM.

In this article, we’ll look at some tips for working with jQuery.

Scroll to Element with jQuery

jQuery has a scrollTo method to scroll to a given element without trouble.