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


Fonts and Colors Task Challenge

In Task 4/4 - Add the background texture.png from inside the img folder and set the background to repeat. Listed below is what I wrote. Where did I err?

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

6 Answers

Guil Hernandez
Guil Hernandez
Treehouse Teacher

Hi Lani,

The syntax seems correct, however, the image name is "texture.png" – that's why is wasn't passing :)

Hope that helps.

Hi Lani! Would you be able to get a screenshot of your answer + the code challenge and email me at help@teamtreehouse.com? I just tried it myself and will need to reach out to the Teaching team about this. Thanks so much for your help! :D

Yup-yup-yup, there's a little bug in task 4. It'll be fixed soon! In the mean time you don't need to pass the code challenge to progress, just to earn the badge. Feel free to hop back to the Stage Overview and move on to the next video stage. Check back on the code challenge soon :)

Email me directly if you have any questions (same email listed above) :D Thanks for pointing this out.

Thanks so much for your help, Elizabeth! I'll move on to the next stage and check back tomorrow.

Thanks Guil! It did help and passed the code challenge.

James Barnett
James Barnett
39,199 Points

Looks like there is a bug in the test check, I belive the following syntax is correct according MDN however it doesn't appear to pass. background: url('img/bg-texture.png') #420600 repeat;

Instead can you use the equally valid syntax of using the 2 seperate properties of background-color & background-image.