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 trialtomd
16,701 PointsI used 'list.parentNode.parentNode' to select the body and it didn't work. Why?
I understand why 'wrapper.parentNode' works but why doesn't my way work? the lists parent is the wrapper and then the wrappers parent is the body. I can't see why it wont work.
2 Answers
Daniel Amazigo
Courses Plus Student 11,357 PointsHi Tom,
As Robert said, could you share the code (HTML & JS) here so we could look into it together?
tomd
16,701 PointsOkay this is weird, it seems to be working fine now.. haha. Thank you both for looking at my question :D
Robert Anthony
19,952 PointsRobert Anthony
19,952 PointsCan you add the HTLM and Javascript to this so we can see what might be the issue?