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
John Darcy
709 PointsCreating a Website Structure
Hi everyone
I am just trying to get my "Creating a Website Structure" badge and have come stuck on the second challenge "Using Classes" i can do the first task but i have tried everything and my best on the second challenge "put classes grid_5 and omega around the featured cupcake element" and am struggling, it is probably something really simple but please can anyone help?
Thanks
John
3 Answers
Nikolaos Papathanassopoulos
10,322 PointsHi John, the challenge is asking you to add the classes 'grid_5' and 'omega' to the 'featured-cupcake' element.
Its similar to the first part, where you added the classes "container" and "clearfix" to a new div element you created.
The difference now is, you dont have to create any div element, because you're supposed to add the classes "grid_5" and "omega" to the existing div with the id="featured-cupcake".
~Nikos.
John Darcy
709 PointsHi Nikos. Just done what you said and completed the task. You were right, i was trying to create a new div element because i was a bit confused with what the question was asking or maybe it was just me not reading it properly :-) Thanks very much for your quick reply.
John Darcy
709 PointsI don't suppose you could help me with one more problem i am having please Niko and then i promise i won't harass you any longer lol...i am just on my styling content badge and part 4 of the first challenge: Add the background texture.png from inside the img folder and set the background to repeat.
and i am stuck, i write the following in but am told it is incorrect.
Where am i going wrong
background: #420600 url('img/bg-texture.png') repeat;
Thanks alot
John