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.
Rashad Nelson5,770 Points
Question about the CSS and the active class
In the video at the end to have the X displayed when the right side is displayed. He removed the active class from the hamburger div in the index file. Does that mean you can remove it from the CSS sheet as well since it is no longer used at in the code. Was the active class used just to see and test the X and transitioning.
Steven Parker217,626 Points
The "active" class is still used because it is applied when you click on the menu symbol. It must remain in the CSS for the animation to work.
His change just means it is not applied by default when the page first loads.