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 trialSean 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