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
Lanz Ceniza
4,419 PointsBuild a Simple Website Styling Content?
I am stuck in the code challenge under styling content with fonts and colors. They are asking me to do
"Add the background texture.png from inside the img folder and set the background to repeat."
Here's what I did but its wrong.
background: #420600; url ('img/texture.png') repeat;
Can someone tell me what I did wrong?
Thank You
3 Answers
James Barnett
39,199 PointsTo write that a different way:
background: #420600;
url ('img/texture.png') repeat;
Do you see a line that doesn't look like valid CSS?
Hint: Semi-colon's in CSS are like periods for sentences.
Lanz Ceniza
4,419 PointsJames Barnett Thanks for your help!
James Barnett
39,199 PointsLanz Ceniza - You're quite welcome, let us know if you have any more questions on this code challenge here in the thread.
ente78 labrys
1,869 Pointsente78 labrys
1,869 Pointshi james,
i got the same problem.
at the end i just copied your code, but it does not work???
why??
background: #420600; url ('img/texture.png') repeat;