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

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:

  <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">

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



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!