Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.