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

HTML

Stuck on the Customising Colors and Fonts challenge

Hello, I'm slowly working my way through the web design track which I think is really good. I'm currently having trouble though with the Customising Colors and Fonts challenge. I was able to get the first two questions right but the last one keeps getting a bummer. I can't seem to figure it out from my notes, please help!

Question:

Set the size of your h1 to 1.75em and the weight to normal.

This is my code:

h1 {
  font-family: 'Changa One' , sans-serif;
  font-size: 1.75em;
  font-weight: normal;
 }

3 Answers

I just tried the same task for you, and this code passed it. Strangely apart from the font I used, it doesn't seem to differ from your code at all.

h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.75em;
    font-weight: normal;
}

Well at least the code looks right... I might try using a different font.

Edit: I did exactly the same steps as before using a different font and it worked. I don't know why I was getting it wrong before when I basically copied and pasted my code.

Glad you got it sorted :D

I had the same thing happen to me. weird.