Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Jonathan Grieve
Treehouse Moderator 91,243 PointsIn jQuery, what does Traversing mean?
Simple as that really. I've done a couple of stages in the jQuery Basics course but still none the wiser. At the basic level what are we getting at? :)
3 Answers

David Walker
19,122 PointsTraversing refers to selecting a different element. Such as the parent, child or sibling element of the element you are currently working with. Make sure you have a good understanding of the Document Object Model.

James Barnett
39,199 PointsjQuery lets us "traverse" — or move through — the HTML elements that make up our page. First, we make an initial selection, and then move through the DOM relative to that selection. As we move through the DOM, we're altering our original selection; in some cases, we're replacing the original selection with the new selection, while in other cases, we're adding to or subtracting from the original selection.
from: http://jqfundamentals.com/chapter/traversing-manipulating

Jonathan Grieve
Treehouse Moderator 91,243 PointsGot it, thank you both. :)