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 trial

HTML

Having problems with the grid section part 2 quiz

<!DOCTYPE HTML>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
      <title>Smells Like Bakin' Cupcake Company</title>
      <link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen">
    </head>

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

</body>
</html>

Add the classes 'grid_5' and 'omega' to the 'featured-cupcake' element.

Maybe there is something wrong with my spacing, but I completely lost atm.

6 Answers

I had to go back and do the quiz. I missed it the first time I read it.

Add the classes grid_5 and omega to this:

<div id="featured-cupcake">

so this div should that that id, plus the classes you add to it. An than delete the extra div you added above it and you should pass.

grid_5 is the only class in the parathesis. You need to scoot the omega class inside there too, like so

<div class="grid_5 omega">

I will say, not remembering this code challege exactly, it says at the buttom add grid_5 and omega to the featured cupcake element, so it may be this as well.

<div class="featured-cupcake grid_5 omega">

You'll have to figure that out yourself.

Still doesn't work, anyone else have any tips?

Doh!!see it now, it works. Thank you for sticking with me.

that's because you forgot the closing parenthesis after feature-cupcake id.

I am having same problem, not sure how to complete this task, anyone can help?