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 trialIra Salem
10,331 PointsDiv inside of a div?
http://www.clipular.com/c/5704459327897600.png?k=lkTd0Kk3HAy0WtuBiyd0hck5xL8
In the above clip I captured a screenshot of the code in question. I didn't know this was possible or is it a flaw? I see an opening <div> with no closing </div>. Instead after the header it's followed by another opening <div>.
1 Answer
Gloria Dwomoh
13,116 PointsYou can put a div inside a div. This code though seems cropped, so the div might be closing somewhere below the piece of code we do not see in the screenshot.
Ira Salem
10,331 PointsIra Salem
10,331 PointsGloria Dwomoh Thanks for the help. Also I checked out some of your websites that are linked to your profile. Awesome work! I hope to be able to do that in the future.