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 Interacting with the DOM Traversing the DOM Traversal Review

BaoPing Wei
seal-mask
.a{fill-rule:evenodd;}techdegree
BaoPing Wei
Full Stack JavaScript Techdegree Student 7,217 Points

Traversing the parent using .parentNode is incorrect.

I don't fully understand the question which told me to traverse the parent element of removeMe button. I tried removeMe.parentElement too since it says "parent element", but still incorrect. Am I missing anything?

dishwasher
dishwasher
7,361 Points

I think there's a bug on this question as I was having the same problem. Try typing

removeMe.parentnode

without a semicolon and see if that works.

1 Answer

Hello, BaoPing Wei, thank you for bringing this to our attention! We will fix this right away, to make the intended response more clear. Appreciate you taking the time to let us know!