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

Fonts & Colors quiz

I keep getting a wrong answer returned when I enter this css on the fonts and colors quiz:

body{font-family: 'Nunito', sans-serif; color:#faf3bc; background: #420600 url('img/bg-texture') repeat;}

It keeps telling me "Make sure you put the relative path to the image inside of 'url()'." I'm confused what am I doing wrong?

4 Answers

Joe Hirst
PLUS
Joe Hirst
Courses Plus Student 6,489 Points

The file extension of "bg-texture" looks like its missing.

Have you tried:

url('img/bg-texture.jpg') Or url('img/bg-texture.png')

Hahaha thanks! I should probably step away from the computer for a few minutes so my eyes can reset.

Joe Hirst
PLUS
Joe Hirst
Courses Plus Student 6,489 Points

You're welcome.

Yeah, I find that taking semi to regular short breaks helps.

Yay teamwork! :D