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
Bruce Vogel
6,888 PointsAfter typing the css code and previewing it to see that it works. It keeps asking me if I have made .logo float left.
This is part 2 of a code challenge.
2 Answers
Alyssa Gowan
46,260 PointsCan you post your code for us to see? I am not sure what Code Challenge it is but it sounds like it could simply be :
.logo {
float: left;
}
Alyssa :)
Bruce Vogel
6,888 PointsThanks Alyssa,
When I went back and tried it again, I figured it out. It was a closing curly bracket that was out of place in the media query above.
Bruce Vogel
6,888 PointsBruce Vogel
6,888 PointsThat's what I have: @media only screen and (min-width: 769px) { .logo { float: left; } .main-nav { float: right; }
Alyssa Gowan
46,260 PointsAlyssa Gowan
46,260 PointsHave you tried just refreshing the page? I have had problems where it won't accept my code as correct until I refresh and type in the exact code again. Maybe that's what's wrong?
Another thing that could be wrong is just perhaps you misread the question. It happens to me. A lot. ;)
-Alyssa :)