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 How to Make a Website Customizing Colors and Fonts Add Fonts

In your CSS, apply your font to the first level headline using font-family. Include a sans-serif fallback.

I'm confused so i typed this:

h1 { font-family: 'One Changa', sans-serif; }

and got it wrong still.

6 Answers

ha! The css looks correct: did you put the google font Changa One' into the head of your html?

ha sucha noob. Thanks Diane.

The font is called 'Changa One'. The challenges want everything typed perfectly, one typo and it won't pass....

haha i meant to say i wrote 'Changa One' and still got it wrong. lol

haha i meant to say i wrote 'Changa One' and still got it wrong. lol

But where would u type the code in. It says 1st level headliner??

Moayad Ahdab
Moayad Ahdab
648 Points

I found it

h1 { font-family: 'Changa One', sans-serif; }

but don ask me why they typed it like this :D

No problem, it's a lot to digest at first, but trust me it gets easier!

:)

Moayad Ahdab
Moayad Ahdab
648 Points

I am facing the same problem

I put Google link within the head section over the index and the font family in the css for the first headline as below, but still get it wrong :/

<link href='http://fonts.googleapis.com/css?family=Changa+One' rel='stylesheet' type='text/css'>

h1 { font-family: 'Changa One', 'sans-serif'; }

Jia Jing Loh
Jia Jing Loh
9,784 Points

h1 { font-family: 'Changa One', sans-serif; }