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.

Raymond Ou
7,169 PointsStuck On the First Step
Add a 'div' around the 'featured-cupcake' element and give it the classes 'container' and 'clearfix'.
<body>
<div class="container clearfix">
</div>
<div id="featured-cupcake">
<h2>Cupcake of the Week</h2>
<img src="img/featured-cupcake.jpg">
</div>
</body>
</html>
4 Answers

Raymond Ou
7,169 Points<body> <div class="container clearfix"> </div> <div id="featured-cupcake"> <h2>Cupcake of the Week</h2> <img src="img/featured-cupcake.jpg"> </div> </body> </html>
What's wrong on this code?

James Barnett
39,199 Points@Raymond - We can't see your code.
In order for the forum to correctly format your code make sure to indent each line of code with 4 spaces.

Amit Bijlani
Treehouse Guest TeacherYour closing div for the container should be placed right before the body tag. So your code should like this:
<body>
<div class="container clearfix">
<div id="featured-cupcake">
<h2>Cupcake of the Week</h2>
<img src="img/featured-cupcake.jpg">
</div>
</div>
</body>
</html>

James Barnett
39,199 Points@Raymond - To expand upon what @Amit said ...
You need to nest the div with the id feature-cupcake
inside of the div with the classes container clearfix
.