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 trialBoby Vilayvong
13,039 PointsThe "What is Traversing?" link in the Teacher's note has a 404 - Page not found error. ?
The "What is Traversing?" link in the Teacher's note has a 404 - Page not found error. ?
2 Answers
Steven Parker
231,269 PointsThat link seems to have a typo in it, the actual link is jQuery Travsersing.
You may want to report the typo to the Support staff.
Boby Vilayvong
13,039 PointsYeah the Support staff knows about it. Thanks guys!
Antti Lylander
9,686 PointsAntti Lylander
9,686 Pointshttps://www.w3schools.com/js/js_htmldom_navigation.asp
It's as simple thing as moving up or down on DOM tree. Say you have selected
ul
element and want to change its child elements. Then you can traverse to it's child elements (li).You would want to do because you want to iterate over all child elements and selecting every child separately is inconvenient or because you have a good selector (id or class) only for the parent element and so on.