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

General Discussion

code challenge: Implementing Media Queries

I have been stuck on this all day re-watched the video 10 times I am about to do bad things to my computer if I do not get to pass this challenge..... The video is very vague at best concerning the code challenge.

8 Answers

Dan Ridley
Dan Ridley
Courses Plus Student 14,839 Points

I am sorry you are having trouble. I know for sure I have re-watched lessons so many times. What exactly are you having trouble with?

Nick Pettit Allison Grayce Marshall

The last question it wants me to get rid of the .cupcake "stuff" (in a <div>)so it can fit on a 480px phone i can get rid of the first 1 but the other I have no idea. I want to group them but the group identifier escapes me if there is such a thing. BTW I am so sick of cupcakes I will always remember this time in my life when I eat one; if I eat one again I'm too traumatized.

Dan Ridley
Dan Ridley
Courses Plus Student 14,839 Points

Hey Charles,

I think I figured it out. To get rid of the cupcake stuff go down the CSS to the media query and select the cupcake class and then the img tag and and set the display to none.


.cupcake img{ display: none; }

Hope this helps

Nick Pettit
Nick Pettit
Treehouse Teacher

Hey everyone,

I'm hear listening if there's help needed, but it looks like you figured it out! :)


I'm going through the same section and am having troubles as well. I take copious notes and am going through the videos a 3rd time. I'll start a new topic with my issues so everyone can see it.

Thank you for your support on this challenge I am really not getting this portion of the code challenge. I understand the resolution concept along with the media queries. The other challenges came straight forward to me, this one seems rather vague like the code challenge was made, and the video was an afterthought. This is only my opinion.....