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

CSS

Using classes challenge 2 help

I get past the first challenge w/ entering 'container' and 'clearfix' but stuck on adding grid_5 and omega.

3 Answers

If you post the code you have here Trey someone will be able to help you out with it. Just post the code you have so far for the challenge and also the specific question from the challenge.

G

Ok thanks, heres the code (and when I try to submit it says 1 not passing?)

<!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_05 omega"> <div id="featured-cupcake"> </div> <h2>Cupcake of the Week</h2> <img src="img/featured-cupcake.jpg"> </div> </body> </html>

Think you're missing the code there, try copying and pasting again.

If it says the previous task is no longer passing, check where you're writing your new code. See my response below!

Need to code to see where you're going wrong and give guidance and hints on what to do to pass.

Generic answer, make sure you're spelling things correctly,are using the correct syntax and have the selector right!

<!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_05 omega">
<div id="featured-cupcake">
</div>
<h2>Cupcake of the Week</h2>
<img src="img/featured-cupcake.jpg">
</div>
</body>
</html>

Im not sure why it isn't showing everything once I click "reply". It shows up fine when I choose "edit".

My two cents, are you sure it's not just because you are making grid_5 with an "0" , grid_05, remove the "0"?

Thanks I did need to change that but it is still not passing