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

Problem with Challenge

Add a 'div' around the 'featured-cupcake' element and give it the classes 'container' and 'clearfix'.

What is the problem you're having?

4 Answers

Hi Tomy,

what its asking you to do is:

First locate the "featured-cupcake' element.

Then create a div add 'container' and 'clearfix' to it.

<div = class"foo" "foo">
(featured-cupcake element goes here)
</div>

The 'container' is a way to identify and reference up a piece of html in your css and the clearfix is a way of an element to clear up after its self.

Thats how best i can describe it anyway.

Hope this helps, if not let me know.

Thank you so much Wayne

Hi Wayne,

Thank you again for your help. I have another question. I am using Sublime and I see on the tutorials there are folders on the left side. How do I open folders I am constantly saving and exiting and reopening each time, my sublime is juste a blank black screen where I type (no folders panel on the left). I appreciate the help.

-Tomy Biton

Hi Tomy

First you need to open a folder in Sublime (file -> open folder). Once you have a folder open you can show/hide it by going to "view -> Sibedar - Show/Hide Sidebar". You can also use "control + k + b" on Windows (not sure about the mac keyboard shortcut, perhaps cmd + k + b?) to show/hide the sidebar.

Thank you Tom

I actually use Coda 2, but you should be able to go into preferences and select show sidebar, if that isn't possible you may have to stick with FILE - OPEN.

I'm sure someone who uses it will give you the correct way of doing it ;)

You so good thank you