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 trialLuiz Henrique Ottino
962 PointsI don't know whats happening with my code.
if I put the h1, h2 with #000000 told me for make with hexadecimal color. And i don't know what I need to do to work.
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
a{
color: #6ab47b;
}
header {
background: #6ab47b;
border-color: #599a68;
}
h1, h2 {
color: #fff;
}
2 Answers
Devin Scheu
66,191 PointsHey It looks like your code was correct for the first part:
h1, h2 {
color: #fff
}
Jason Anders
Treehouse Moderator 145,860 PointsHi Luiz,
I'm not sure where most of the CSS you posted is coming from, but the first part of the challenge just wants you to change the text color to white for the h1 and h2 selectors. So, for the 1st question, you complete CSS in the challenge window should look like this:
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
}
#logo {
text-align: center;
margin: 0;
}
h1, h2 {
color: #fff;
}
Hope that helps. Keep Coding! :)
Luiz Henrique Ottino
962 PointsLuiz Henrique Ottino
962 PointsThe point is that the request is to make the paragraph to be black (# 000000)
Devin Scheu
66,191 PointsDevin Scheu
66,191 PointsSame thing, black's hexidecimal is #000000, except you can shorten it by using three 0's, add this to the code above to pass :):
Luiz Henrique Ottino
962 PointsLuiz Henrique Ottino
962 Pointsyes! right now, it's right . but, i have one question. Why it's not right use a #000000 ?
Devin Scheu
66,191 PointsDevin Scheu
66,191 PointsIt's just a short hand, if you have the same numbers or letters in the hexidecimal number you can shorten if from 6 to 3, it saves you time typing and being redundant :).
Luiz Henrique Ottino
962 PointsLuiz Henrique Ottino
962 Pointsyes, but i tried this before (w/ 6 0) and doesn't work. Why?
Devin Scheu
66,191 PointsDevin Scheu
66,191 PointsExample:
Jason Anders
Treehouse Moderator 145,860 PointsJason Anders
Treehouse Moderator 145,860 PointsYou can use #000000. Just make sure there is no space between the # sign and the six zeros.
Luiz Henrique Ottino
962 PointsLuiz Henrique Ottino
962 Pointsok, I do not know why it did not work before. What matters is that is works now. Thank you for attention.
Jason Anders
Treehouse Moderator 145,860 PointsJason Anders
Treehouse Moderator 145,860 PointsGlad you got it solved! :)
Any other questions, please feel free to post them to the forum.
Keep Coding! :)