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

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