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

Div class challenge tasks

I'm having issues adding <div class="grid_5 omega"> in the code challenge. I have no clue how to post code on here but I passed the first challenge task but when I get to the second, it says Task 1 is no longer correct. I've used every way possible I can think of, its something I have to be missing.

2 Answers

Hi Brent,

I also got the same error message and it had nothing to do with the first task. The second question asks to add class yadayada to the featured-cupcake element so I just added the class names without noticing that featured-cupcake is an id and not a class.

Jeff

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

You're a life saver Jeff. THANK YOU

marsha grasett
marsha grasett
9,995 Points

See the Markdown Cheatsheet under the post window to learn how to post code.

Thanks Marsha i'll study that haha.