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 trialdanielferdinand
1,581 PointsWhat is the div class name for the main content area here? Shouldn't it just be class="container"?
Here is a basic question for starting a Bootstrap mock-up.
3 Answers
Luke Glazebrook
13,564 PointsPlease correct me if I am getting the wrong end of the stick with this answer.
It shouldn't be id "container" because this is what, in Bootstrap, holds all the content and keeps it all in the centre. It also automatically adds margins to the side. This container may be used more than once within your document so it is very important to have another id for your main content area.
-Luke
danielferdinand
1,581 PointsThanks a lot for the answer. I still can't figure out the answer to this question in the code challenge. It points at a class which much be a bootstrap pre-defined class. Like a wrapper for the whole main content area I guess: "We need to give the first div in the 'Headline' section Bootstrap's class for showcasing key content on a site." (https://teamtreehouse.com/library/framework-basics/build-a-website-with-bootstrap/building-with-bootstrap).
danielferdinand
1,581 PointsIt is from question 2 in the code challenge. I thought the direct link appeared automatically when I posted the question directly from the course page.