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

Andrés Leal
9,563 PointsWon't change the h1 color to white! :(
I created in the html the "h1" and instead of creating an "h2" I used a "h3", so at the time I was changing the color to white in the css sheet it won't change the color, i don't know if it's because I used the h3! please help!
html header code:
<header> <a href="index.html" id="logo"> <h1>Andres Leal</h1> <h3>iOS Developer</h3> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header>
CSS code:
h1, h3 { color: #fff; }
1 Answer

Luke Glazebrook
13,564 PointsHello Andres!
If it is a challenge that you are trying to complete then try using the elements that it is asking you to use in your CSS selector and everything should then work perfectly!
-Luke

Andrés Leal
9,563 PointsSorry, but can you give me an example how?

Luke Glazebrook
13,564 PointsAre you being asked to complete a code task? If so, could you please paste the question into this thread?

Andrés Leal
9,563 PointsNo, it's just the video I'm following:

Luke Glazebrook
13,564 PointsOkay I understand now!
The code you will need to turn the h1 text into white is as shown below.
h1 {
color: #fff;
}

Andrés Leal
9,563 PointsWell it doesn't work but I used it into the html <style> element and that way it works, thanks! :D

Luke Glazebrook
13,564 PointsNo problem I am glad you managed to resolve this issue, good job!
Tommy Gebru
30,164 PointsTommy Gebru
30,164 PointsHey Andres,
The Challenge or Objective works fine, I think it wasnt working due to the h2 & h3 mix-up. When doing the challenges our biggest mistakes are not reading carefully (questions) not proofchecking (answers). It should always be easy to follow along, if we don't understand the challenge it is usually because we "overthought the answer" or "jumped ahead".