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.

HTML Build a Simple Website Creating a Website Structure Using Classes

The Container Clearfix Challenge That Stumped Me and Made Me Want A Big Clear Container of Cupcakes.

I'm not sure your challenge (add classes container and clearfix to featured cupcake element) is working properly. There are a number of people who are stuck on this question and I've used all the fixes suggested on this forum. Can you check? Thanks!

2 Answers

Nope it work! It is asking you to add a div AROUND the featured cupcake element. So it would be

    <div class="container clearfix">
      <div id="featured-cupcake">
        <h2>Cupcake of the Week</h2>
         <img src="img/featured-cupcake.jpg">

It worked! Dumb old cupcakes...

Thank you Adam.

Anytime. Just click best answer so others can see it is solved. Maybe edit title to the question name on the quiz