Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Sean Brazzi
4,952 Pointshaving an issue passing code challenge with media query
the challenge is saying to create a new rule that will target the img selector and float all images on the page left, the error I keep getting says that im not floating the images to the left.
hears the code I was using
@media (min-width: 607px) {
.img{
float:left;
}
}

Sean Brazzi
4,952 Pointssorry I thought I attached the code, I updated the question but it put the code in a strait line making it a bit hard to read sorry
1 Answer

Ken Alger
Treehouse TeacherSean;
You need to target the image elements, not img
classes.
Ken

Sean Brazzi
4,952 Pointsthank you for your help, it fixed the issue I was having
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherSean;
Can you post the code you are trying? It will help quite a bit in working out a solution for you.
Thanks,
Ken