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.
vedant shelat16,877 Points
I still dont get the concept of adding <div id="content"> in header.php & not closing div tag in suggest.php? HELP!
I checked related questions ask here, but still dont get it. At this point we dont have the footer.php and the closing content div tag is closed before the opening tag of footer in index.php, so how does it closes automatically in suggest.php?? Thanks!
You are correct in your understanding on what should and should not be included in a shared file. The div content should not have been copied as it limits future options. For the lesson I think they are showing scenario when a div tag may be split up between shared and not shared files and how to account for it so to not get lost among closing div's.