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

HTML How to Make a Website Responsive Web Design and Testing Refactor the Layout

Aleksei Marchishin
Aleksei Marchishin
9,344 Points

hi. I'm sure that my answer is right. please, show me a my mistake. Thank you for help!

@media screen and (min-width: 480px) {

#gallery li { width: 28.3333%; }

}

I think that is a right answer

css/main.css
@media screen and (min-width: 480px) {

   #gallery li {
    width: 28.3333%;
  }
}

2 Answers

ceriannejackson
ceriannejackson
23,759 Points

Hi,

What error are you getting? Your code looks fine to me. I copied and pasted it in and it passed Task One.

Aleksei Marchishin
Aleksei Marchishin
9,344 Points

Thank you for help me! I found a tactical mistake, I had paste that code in the end of my exercise css =)

David Schriever
David Schriever
1,777 Points

I copy/pasted your code in the challenge, it is 100% correct. Simply try again, it should work. What kind of error are you getting?

Let me know ;).

Aleksei Marchishin
Aleksei Marchishin
9,344 Points

Thank you for help me! I found a tactical mistake, I had paste that code in the end of my exercise css =) I'm blind)