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 trialKatrina M
Courses Plus Student 2,780 PointsIs this incorrect?
background: #420600 url('img/bg-texture.jpg') repeat;
7 Answers
Katrina M
Courses Plus Student 2,780 PointsThank you for your patience! It worked. =)
Richard Duncan
5,568 PointsNo looks to be fine, obviously missing a selector.
Katrina M
Courses Plus Student 2,780 PointsYes, 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
5,568 PointsNo 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
Katrina M
Courses Plus Student 2,780 PointsYou're amazing. Thank you. =)
Katrina M
Courses Plus Student 2,780 PointsIt keeps telling me this, "Bummer! Make sure you put the relative path to the image inside of 'url()'."
Richard Duncan
5,568 PointsCan you link to the challenge?
Katrina M
Courses Plus Student 2,780 PointsRichard Duncan
5,568 PointsYou need to separate them out background-color: #420600; background-image: url(img/texture.png); background-repeat: repeat;
Do that and it will complete.