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
Heather Craven
502 Pointsafter adding /*comments*/ my header, h1, h2 etc. turned red.
I am thinking it has something to do with adding the comments..but I am not sure. Everything worked before adding the comments.
/*********** Colors ***********/
/background green/
header { background: #6ab47b; border-color: #599a68; }
/*logo text */
h1,h2 { color: #fff; }
/* site body */
body { background-color: #fff; color: #999; }
/* links */ a { color: #6ab47b; }
/*nav background on mobile */
nav { background: #599a68; }
/nav link/
nav a, nav a:visited { color: #fff; }
/* selected nav link */ nav a.selected, nav a:hover { color: #32673f; }
3 Answers
Allison Cuyjet
20,689 PointsHey Heather,
You're on the right track. You might want to double-check that all of your comments are /* formatted properly */
Heather Craven
502 Pointsokay! i went back and found one } missing right before this section! I must have deleted it when adding all the comments! Thank you! :)
Julian Aramburu
11,368 PointsHi Heather! I think Allison also refers to the ones with the missing *! like /nav link/ and /background green/ it could lead to problems in the near future :D!
Cheers!
Heather Craven
502 PointsGotcha! I did not even see that! Thank you!!!!