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

HTML Build a Simple Website Styling Content Fonts and Colors

Add the background texture.png from inside the img folder and set the background to repeat.

i tried exactly what was shown in the video. but its saying I am missing relative url....can some one help?

Can you post the code that you tried?

Ricardo, I tried both of these...

background: #420600 url('img/bg-texture.jpg') repeat;

&

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

no results with either one....

2 Answers

Why do you have img/bg-texture.jpg? It should be img/texture.png

body{
  background: #420600 url('img/texture.png') repeat;
}

i figured i tried that lol, but its finally correct and it accepted my answers, i tried everything. but its good now. thanks