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

Unable to add background texture.png (CSS 4 of 4)

this is my code:

body { 
  font-family:'Nunito', sans-serif; 
  color: #FAF3BC; 
  background-color:#420600; 
  background: url ('img/texture.png' repeat; 
}          

Obviously it looks much neater but I don't know how to upload an actual image of the code. And yes I am working on the style.css page. Would you also be so kind as to tell me how I can upload an actual image of the html code I want corrected...? Thank you guys so much.

James Barnett
James Barnett
39,199 Points

I added markdown so the forum will format your code correctly, here's how I did it.

https://teamtreehouse.com/forum/how-to-type-code-in-the-forum

1 Answer

Holger Liesegang
Holger Liesegang
50,595 Points

Hi Mustafa, try


background: url ('img/texture.png') repeat;

The ")" is missing.

Kind Regards Holger