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

Is this incorrect?

background: #420600 url('img/bg-texture.jpg') repeat;

7 Answers

Thank you for your patience! It worked. =)

Richard Duncan
Richard Duncan
5,568 Points

No looks to be fine, obviously missing a selector.

http://jsbin.com/okoman/1/edit

Yes, it's missing the selector.

So, is this incorrect?

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

Richard Duncan
Richard Duncan
5,568 Points

No it's fine, if you're on a challenge it might be that it is not wanting you to shorthand for example background-repeat: repeat; instead of appending it to the end of background or background-color/image.

Here is your CSS: http://jsbin.com/oyojur/1/edit

You're amazing. Thank you. =)

It keeps telling me this, "Bummer! Make sure you put the relative path to the image inside of 'url()'."

Richard Duncan
Richard Duncan
5,568 Points

Can you link to the challenge?

Richard Duncan
Richard Duncan
5,568 Points

You need to separate them out background-color: #420600; background-image: url(img/texture.png); background-repeat: repeat;

Do that and it will complete.