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

Jackie Galarza
Jackie Galarza
17,543 Points

CSS Grid trouble

I keep getting this message on my "task 1 challenge" after the 'working with grids video': "Bummer! Make sure you wrap the 'featured-cupcake' element in a new div." I assume the 'featured-cupcake' element is the img element? I don't know what I'm doing wrong. I'm opening a div and closing it...

1 Answer

I don't think they are referring to the featured-cupcake.jpg, but rather the id of that particular div. I think that div element is found after the intro div, but I can't remember what it looks like in the quiz at the end.

Does your div for the Cupcake of the Week look like this:

<div id="featured-cupcake" class="grid_7">
Jackie Galarza
Jackie Galarza
17,543 Points

Thanks, this helped me realize where it was requesting me to put the new div. It is supposed to be added right before <div id="featured-cupcake">.

Thank you!