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 trialvinay prajapati
Courses Plus Student 1,140 Pointswhat the hell?
who?
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
padding: 0 5%;
}
#logo {
text-align: center;
margin: 0;
}
a {
color: #6ab47b;
}
header {
background: #6ab47b;
border-color: #599a68;
}
p{
color:#000000;
}
vinay prajapati
Courses Plus Student 1,140 Pointswhy?? why???
vinay prajapati
Courses Plus Student 1,140 Pointswhy
2 Answers
Michal Weizman
14,050 PointsHi vinay, Maybe the editor wants you to use the shorthand version of #000000 [=> #000]? Edit: Whoops, didn't know there was a headlines request in the questions... My bad
vinay prajapati
Courses Plus Student 1,140 PointsThank you for giving kind information problem solved
Steve Hunter
57,712 PointsHi Vinay,
You need to style the h1
and h2
elements to be white, #fff
. The question says, Set the color of first and second level headlines to white using a hexadecimal value.
So, select both the h1
and h2
elements then set their color
property to be white, which is #FFFFFF
or #FFF
..
h1, h2{
color: #FFF;
}
I hope that helps,
Steve.
Steve Hunter
57,712 PointsDid you delete the first task code with your p
selector? You'll get an error saying "Did you style the h1 element to be white", if you have. Leave that in and add the code for the p
selector:
vinay prajapati
Courses Plus Student 1,140 PointsThanks bro
vinay prajapati
Courses Plus Student 1,140 Pointsvinay prajapati
Courses Plus Student 1,140 Pointswhy it's wrong??