Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!