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) Making Changes to the DOM Styling Elements

hide button wasn't doing anything. figured it out

I used the "launch workspace" button and when following along it seemed a like all of the code was already there. When it came time to push "hide list" the only thing that disappeared was the 2nd horizontal dotted line. I went over the code several times and gave up last night cause it was late. I picked back up where i left off last night and ended up trying multiple browsers and still it didnt work. Then i decided to double check the HTML code and I realized that on line it looked like this <div class="list"></div> the problem here is that the closing </div> tag should be placed after the closing </ul> tag. Once I moved that closing div tag the hide button worked as it did in the video. That being said, all of the code seemed to be already there, so I didn't to check anything, it really threw me for a loop. So it might be worth updating the index.html file for this video that is used when users click "launch workspace" so they don't have to spend time trying to figure out why hide list isn't hiding anything.