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 trialLynne Peterson
2,455 PointsResponsive.css ... not working. Tried matching index/pages/responsive to Nicks..help
I have reviewed several times the Responsive Web Design video and matched everything to Nicks' that I can see but nothing I've done seems to create either a colored background using marvelousstudent281 nor any columns ... I can't figure it out. My luck it is probably a missing period... LOL
Lynne Peterson
2,455 PointsInteresting ... not everything I wrote posted so here is the other piece of the index.html that I wrote....
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/responsive.css">
Lynne Peterson
2,455 PointsI gave up. Thru' i.e. View Source I printed out Nicks' code and matched it by line and character on all pages and still could not figure out what was wrong. Finally, I copied Nicks' code and matched it to my info and am moving on. Hopefully, thru' practice I'll get better at spotting errors but this one is beyond me. Thank you.
1 Answer
sean murphy
9,435 PointsI would love to help guide you to a proper solution, but I would need to see your code. Just copy and paste your css using the format from the markdown cheatsheet.
Lynne Peterson
2,455 PointsLynne Peterson
2,455 PointsI finally got the About Page to work into 2 columns but the portfolio page still does not change between 2-3 columns when sized.
/****************** TWO COLUMN LAYOUT *******************/
#primary { width: 50%; float: left; }
#secondary { width: 40%; float: right; }
/****************** PAGE: PORTFOLIO *******************/
#gallery li { width: 28.3333%; }
#gallery li:nth-child(4n) { clear: left; }
/****************** PAGE: ABOUT *******************/
.profile-photo { float: left; margin: 0 5% 80px 0; }
}
@media screen and (min-width: 660px) {
}