Check out a free preview of the full Introduction to JavaScript and jQuery course:
The "Traversal methods: Up, Sideways, and Down" Lesson is part of the full, Introduction to JavaScript and jQuery course featured in this preview video. Here's what you'd learn in this lesson:

Moving up - parent and closest methods (with a note about usefulness of nextUntil) Moving sideways - siblings, next, prev Moving down - children, find

Get Unlimited Access Now