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 trialTrey Johnson
Courses Plus Student 1,641 PointsUsing 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
Graham Davidson
Courses Plus Student 14,966 PointsIf 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
Matt Campbell
9,767 PointsNeed 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
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
Courses Plus Student 1,641 PointsIm not sure why it isn't showing everything once I click "reply". It shows up fine when I choose "edit".
Pedro Baumann
12,815 PointsMy 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
Courses Plus Student 1,641 PointsThanks I did need to change that but it is still not passing
Trey Johnson
Courses Plus Student 1,641 PointsTrey Johnson
Courses Plus Student 1,641 PointsOk 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
9,767 PointsMatt Campbell
9,767 PointsThink 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!