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 Build a Simple Website Styling Content Fonts and Colors

Color doesn't change

I added: font-family: 'Nunito', sans-serif; color: #FAF3BC; and the color did not change. Ideas?

8 Answers

marsha grasett
marsha grasett
9,995 Points

Did your content have HTML tags? ie:

<h1> heading</h1>

And if so did you target your tag in the CSS?

h1{
font-family: 'Nunito', sans-serif; color: #FAF3BC; 
}

Yes. I have: <h1>heading</h1> body { font-family: 'Nunito', sans-serif; color: #FAF3BC; background: #420600 url('img/bg-texture.jpg') repeat;

Yes. I have: <h1>heading</h1> body { font-family: 'Nunito', sans-serif; color: #FAF3BC; background: #420600 url('img/bg-texture.jpg') repeat;

Yes. I have: <h1>heading</h1> body { font-family: 'Nunito', sans-serif; color: #FAF3BC; background: #420600 url('img/bg-texture.jpg') repeat;

marsha grasett
marsha grasett
9,995 Points

heading body???

Should that not be just body?

marsha grasett
marsha grasett
9,995 Points

Also do you have a closing curly brace?

Here is what I have: body { font-family: 'Nunito', sans-serif; color: #FAF3BC; background: #420600 url('img/bg-texture.jpg') repeat; }

marsha grasett
marsha grasett
9,995 Points

I copied and pasted your above code into CodePen and It did change!

http://codepen.io/alicetheblue/pen/jHwgB

(CodePen is a great place to play around with code ;)