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 Build a Simple Website Creating a Website Structure Using Classes

Question about grids in Challenge

In the challenge for grids one of the questions asks to add classes grid_5 and omega to the element. I keep getting answer wrong. Heres my code:

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

4 Answers

Hi Andrew - It is asking you to add the classes grid_5 and omega to the existing featured cupcake div, not create a new div around it.

For the Markdown, you can click the link below the comment box to see the Markdown Cheatsheet. To post code, you need to add three backticks (`) on the line before and the line after the block of code.

It looks like this:
<br/> <br/>

```

your code here

```

<br/>
<br/>

Hope that helps!

Sorry, still having trouble with markdown, not able to show my code effectively. Tips are appreciated!

Matthew Shettler
Matthew Shettler
8,819 Points

You need to add the grid_5 and omega classed to the existing #featured-cupcake div.

Thanks guys, it worked!