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! While you're at it, check out some resources Treehouse students have shared here.
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 trialLearning coding
Front End Web Development Techdegree Student 9,937 Points2.39 So remember we want to traverse over these links on this page?
This is what Andrew talks about starting starting at 2.39 in the video transcripts:
We want to go over them, so that's a traversal operation. So let's go down to traversal. So let's take a look at these methods on the traversing page.So remember we want to traverse over these links on this page?
I have seen video's here and tutorials on youtube about the DOM and traversing wich I don't fully understand, but I have some sense of understanding of it. In this context I have no clue after replaying and reading the text. Can someone explain this?
My questions are: What is a transversal operation? What is going down to traversal? What is the transversing page? What is transversing over something? And over what links do we want to transverse? Here he probably means the links of the buttons.
2 Answers
Steven Parker
231,275 PointsTraversing just means getting around.
DOM traversal is about using the relationships between elements to move from one element to another. Like finding an element's parent, or sibling, or children. Moving "up" and "down" is just moving closer to the document root or further from it.
Does that explain it better?
Learning coding
Front End Web Development Techdegree Student 9,937 PointsWhen I relate it to example's like .prev and .next it makes some sense, but it doesn't answer the other questions I asked about transversing. That's about terminology wich is important to understand what is talked about in a video. I may be overthinking it, thanks for your answer.
Steven Parker
231,275 PointsIf you still have questions about specific terms, you might try posting a new question and giving the video time index for where each term is used that you are unsure about.