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.

--

--

--

Web developer. Subscribe to my email list now at https://thewebdev.info/subscribe/. Email me at hohanga@gmail.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Many Ways to Rerender a Vue Component

How to Ignore Value Properties in Javers

Nuxt.js — Error Handling and Plugins

Tested React: Build and Test a Form using React Context

Introduction to Event Handling in Vue.js

Cloning Anthropologie.com as our CW-Project

Node.js Tips — File Operations, Command Line Arguments, and More

Deno nuggets: Run child process

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
John Au-Yeung

John Au-Yeung

Web developer. Subscribe to my email list now at https://thewebdev.info/subscribe/. Email me at hohanga@gmail.com

More from Medium

Most useful Array methods in Javascript ( filter  — part 2)

How to Make Your First Open Source Contribution

JavaScript Basics — Part 1