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

CSS CSS Basics (2014) Basic Selectors Type Selectors

I 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

Post 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:"


/* Complete the challenge by writing CSS below */

body {
  text-align: center;

p {
  color: lightslategrey;

header {
  background-color: orange;
  color: white;