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

Trey Johnson
PLUS
Trey Johnson
Courses Plus Student 1,641 Points

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

Trey Johnson
Trey Johnson
Courses Plus Student 1,641 Points

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>

Matt Campbell
Matt Campbell
9,767 Points

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!

Matt Campbell
Matt Campbell
9,767 Points

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!

Trey Johnson
Trey Johnson
Courses Plus Student 1,641 Points

<!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>
Trey Johnson
Trey Johnson
Courses Plus Student 1,641 Points

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

Pedro Baumann
Pedro Baumann
12,815 Points

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

Trey Johnson
Trey Johnson
Courses Plus Student 1,641 Points

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