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 trial

JavaScript JavaScript and the DOM (Retiring) Traversing the DOM Using parentNode to Traverse Up the DOM

DOM Traversal

what if i want the user whenever he enters a new item to the list a remove button is added beside it dynamically without typing the button tags in the html .. is it possible ??? because whenever u delete an item and then add a new item u should manually add the button tag in the html

thanks in advance :)

1 Answer

Steven Parker
Steven Parker
231,271 Points

That's exactly the kind of thing DOM traversal is good for! And if I remember correctly, in just a few more videos you will do an exercise involving adding new list items and buttons together.