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 trialtonderai dika
5,599 PointsI am setting the font color to white but it's still saying wrong answer.where am I getting it wrong
Create a new type selector thats targets the header element .set the background colour to orange and the text color to white Header{ background-color:orange; Font:white;} What's wrong with this
2 Answers
Liam Clarke
19,938 PointsPost your code with 3 backticks(`) to help others degub your issue
From what you have wrote, I am assuming it is because you have wrote "Font" when to change the font color it is actually "color:"
Solution
/* Complete the challenge by writing CSS below */
body {
text-align: center;
}
p {
color: lightslategrey;
}
header {
background-color: orange;
color: white;
}
Antonio De Rose
20,885 Pointsplease post your answer