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
Richard Owens
1,071 Pointsmy website has completed changed and there is no background, heading not centered and links no white ect.
This happened after I put comments in my code. Can someone help me. I have included the hash but it wont show here for some reason.
/**************************/ GENERAL /**************************/
wrapper {
max-width: 940px; margin: 0 auto; padding:0 5%;
}
a { text-decoration: none; }
/**************************/ HEADING /**************************/
logo {
text-align: center;
margin: 0;
}
h1 { font-family: 'Changa One', sans-serif; margin: 15px 0; font-size: 1.75em
/**************************/ COLORS /**************************/
/site body/ body {
background-color: #fff; color: #999;
}
/green header/ header { background: #6ab47b; border-color: #599a68
/nav background on mobile devices/ nav { background: #599a68 }
} /logo text/ h1, h2 {
color:#fff
}
/links/ a { color:#6ab47b; }
/nav link/ nav a, nav a:visited { color: #fff }
/selected nav link/ nav a.selected, nav a:hover { color: #32673f; }
2 Answers
morgan segura
Courses Plus Student 6,934 Pointsyour comments need to have asterisks, I am not sure if this will solve the problem overall, but it is a start "/site body/ " should be /site body/
Sam Baines
4,315 PointsHi Richard - you may be having issues due to the way you are commenting in your code, it should be as follows:
/******* GENERAL ***********/
You seem to be adding in extra '/' slashes in random bits of your code which will disrupt your code and comments. You also have some errors with you curly bracket placement by the looks of things. Try posting your code again using the markdown cheatsheet, then people can see it more clearly for errors (as sometimes they way you have written it some bits get omitted).
Ashvin Mbuguni
6,360 PointsAshvin Mbuguni
6,360 PointsI'm going through the exact same problem, I have asked the same question and someone will be helping me with it shortly hopefully. So just keep an eye out in mine too.