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

Kelsey Wilson
PLUS
Kelsey Wilson
Courses Plus Student 3,874 Points

Help with Treehouse code challenge?

I am stuck on Challenge task 4/4 in the styling content part of the Building a Simple Website project.

The task is: Add the background texture.png from inside the img folder and set the background to repeat.

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

I keep getting the "Bummer! Make sure you put the relative path to the image inside of 'url()'." I'm a beginner and am not really sure what I am doing wrong. Can anyone help me out?

2 Answers

Brian Phillips
Brian Phillips
15,074 Points

The code challenge is asking for you to use the file "texture.png", not "bg-texture.jpg".

I hope that helps!

Kelsey Wilson
PLUS
Kelsey Wilson
Courses Plus Student 3,874 Points

Wow, I was really over thinking that one. Thank you for pointing that out!