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 trialJoan Nyberg
246 PointsColor doesn't change
I added: font-family: 'Nunito', sans-serif; color: #FAF3BC; and the color did not change. Ideas?
8 Answers
marsha grasett
9,995 PointsDid 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;
}
Joan Nyberg
246 PointsYes. I have: <h1>heading</h1> body { font-family: 'Nunito', sans-serif; color: #FAF3BC; background: #420600 url('img/bg-texture.jpg') repeat;
Joan Nyberg
246 PointsYes. I have: <h1>heading</h1> body { font-family: 'Nunito', sans-serif; color: #FAF3BC; background: #420600 url('img/bg-texture.jpg') repeat;
Joan Nyberg
246 PointsYes. I have: <h1>heading</h1> body { font-family: 'Nunito', sans-serif; color: #FAF3BC; background: #420600 url('img/bg-texture.jpg') repeat;
marsha grasett
9,995 Pointsheading body???
Should that not be just body?
marsha grasett
9,995 PointsAlso do you have a closing curly brace?
Joan Nyberg
246 PointsHere is what I have:
body {
font-family: 'Nunito', sans-serif;
color: #FAF3BC;
background: #420600 url('img/bg-texture.jpg') repeat;
}
marsha grasett
9,995 PointsI 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 ;)