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

Project 1-Personal Profile Page rejection: We couldn't find a background URL in the stylesheet.

Failing Project 1 cause it saids, " We couldn't find a background URL in the stylesheet." When I know I have this in my css:

body { background: url("light-background.jpg"); }

What am I doing wrong?

2 Answers

Brian Jensen
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Brian Jensen
Treehouse Staff

Without a link to the project I cant be sure, but it might be a file path issue, try this:

body { 
  background: url("img/light-background.jpg");
}

All the files are on the same level. I also have 2 of these in the stylesheet:

background-image: url("light-background.jpg");

I'm wondering if that is making it get rejected.