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
Ashley Bennett
2,307 PointsCoding Challenge: Fonts and Colors
I am stuck on a coding challenge. It asks you to add the background texture.png from inside the img folder and set the background to repeat.
I think that I have the correct information, but it is not letting me through. I would appreciate it if anyone could point me in the right direction.
Here is my code.
Body {
font-family: Nunito, sans-serif;
color: #FAF3BC;
background: #420600 url('img/bg-texture.png') repeat;
}
3 Answers
James Barnett
39,199 PointsTry reading the directions again, pay special attention to the name of the file.
It asks you to add the background texture.png from inside the img folder and set the background to repeat.
Elliott Frazier
Courses Plus Student 9,647 PointsYou need to remove "bg-" from "texture.png"
Chase Lee
29,275 PointsAlso, where did you get the hexadecimal from?