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

Why don't we have the remove button in the new items added to the list?

Why don't we have the remove button in the new items added to the list?

Depends on what you are referring to. Can you provide a link to the course or video?

Sorry. I thought the question was asked automatically to the link.

Beginning Javascript - Javascript and the DOM - Using parentNode to Traverse Up the DOM

https://teamtreehouse.com/library/javascript-and-the-dom-2/traversing-the-dom/parent-traversal

At the end of the video the teacher shows the final result. But when adding new items through the input next to the "Add item" button" there are no "Remove" buttons next to new items.

1 Answer

It looks like those buttons are created later on in Getting All Children of a Node with children

https://teamtreehouse.com/library/getting-all-children-of-a-node-with-children

Thanks again. I'll go with Marty McFly adn the Doc to the future to get the answers.