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 trialBruce Tomkins
6,199 PointsCode Challenge error: http://teamtreehouse.com/library/css-foundations/media-queries/adaptive-layouts-with-media-queries
I am getting an error message but can't find where I've gone wrong. Here's my code:
/* Tablets to Desktop */
@media only screen and (min-width: 769px) {
.logo {
float: left;
}
.main-nav {
float: right;
}
.main {
width: 40.425531914894%;
}
.extra {
width: 23.404255319149%;
display: block;
}
}
1 Answer
Joe Dayvie
11,956 PointsWell done! You're doing great!
I just re-did that challenge and I passed without finding any differences between out code. I then placed in what you put here and it passed.
Make sure you have not removed your Task 1 code as you need to keep everything that you have typed up.
Bruce Tomkins
6,199 PointsCheers Joe,
Just retired copying and pasting the code and worked fine :) Go figure.
Christian Lawrence
3,941 PointsChristian Lawrence
3,941 PointsWhat is the task question?
Also please add the HTML if there is any