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 trialroeroe
11,826 PointsIs There a bug in this challenge?
I think my code is a 100% correct not sure though
@media screen and (max-width: 705px) { .grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6 { width: 100%; } }
please answer, thanks.
5 Answers
samiff
31,206 PointsIn case you are still caught up on this, your code is correct, but where you are putting your code matters (I've made this mistake in the past). Remember that CSS rules always cascade!
roeroe
11,826 PointsBy the way it relates to this challenge
Write a media query at 705px where the layout begins to break, that forces grid_1 through grid_6 to span 100% width of the container.
samiff
31,206 PointsHey Roel, you're code is syntactically correct. I could tell you what's probably the problem however, or you could try and figure it out yourself
James Barnett
39,199 Points@Roel - I don't know if, you updated the post, but your code passes step 1 of this code challenge
Mod Note: It's always a good idea to link to the code challenge you are having issues with.
For more tips check out the post on how to ask good questions on the forum
roeroe
11,826 PointsThanks alot Sam, and James you have been a real help!