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
Marketa Mack
734 PointsCreating Website Structure Code Challenge...I'm Stuck!
I'm on the "Creating Website structure" challenge and can't figure out what's wrong!
http://teamtreehouse.com/library/using-classes http://codepen.io/km2830/full/nAtgw
I'm having issues with the grid challenge. I put the code in for the "container" and "clearfix" which that was fine, BUT when I did the 2nd task it kept saying it was wrong. I was suppose to also add the which I did right after the "container" div and it kept saying the 1st task wasn't there and then I tried placing it somewhere els and then it said I needed to add it.
Please Help! Thanks!
7 Answers
Caroline Hagan
12,612 PointsQ : Add the classes 'grid_5' and 'omega' to the 'featured-cupcake' element.
I was suppose to also add the which I did right after the "container" div and it kept saying the 1st task wasn't there
What was the code you entered, can you post it here?
Marketa Mack
734 PointsSee url: http://codepen.io/km2830/full/nAtgw
At bottom click on "edit this pen" and you can see my code.
I tried SO many different ways and it still said it wasn't right. This was the last thing I did and it STILL wasn't right. So, IDK!! I gave up trying anything else!
Caroline Hagan
12,612 PointsThis code you have:
<div id="featured-cupcake">
<div class="grid_5 omega">
Should be:
<div id="featured-cupcake" class="grid_5 omega">
I just tried the challenge and passed with that; as it states to add it to the existing div, not create a new one :-)
Ricardo Diaz
30,415 PointsLooks like the question has been answered. :)
Marketa Mack
734 PointsThanks Caroline!! and
Thanks Ricardo anyway!
Caroline Hagan
12,612 PointsYou're very welcome :-)
Fabi Castillo
9,338 PointsThanks for helping out Caroline. :)