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 trialMichael Maggard
812 PointsProblems with background color. Please help!
I seem to be having a problem with my background color not turning orange. I have read several community help forums (refreshed my page several times, copied and pasted to different work spaces and checked all my syntax over and over again) containing the same issue with possible solutions and still nothing has worked. Please help me solve this issue immediately!
3 Answers
stjarnan
Front End Web Development Techdegree Graduate 56,488 PointsI would need to see your code to be able to help you. One thing you might look for is whether your other styles show up on your page?
stjarnan
Front End Web Development Techdegree Graduate 56,488 PointsAnd your CSS please! :)
Michael Maggard
812 PointsHow to Make a Website - Follow Along with Workspaces by michaelmaggard Learn to code with Treehouse Fork Snapshot How to Make a Website - Follow Along with Workspaces css main.css normalize.css img index.html main.css Click a file on the left to open it
1 body { 2 background-color: orange; 3 } Line 1, Column 1 — 3 Lines CSS
Michael Maggard
812 Pointsbody { background-color: orange; }
stjarnan
Front End Web Development Techdegree Graduate 56,488 PointsOkay, I can't seem to find the problem. The only thing I can think of is if the pathing is correct? When you link to the css, is the main.css in a folder called css? And the html-file in the root of the project?
Michael Maggard
812 PointsYes, my main.css file is in the folder of css or so I thought. Pathing? Html-file in the root of the project?
Michael Maggard
812 PointsPatching? Root of the project?
Michael Maggard
812 PointsMichael Maggard
812 PointsHow to Make a Website - Follow Along with Workspaces by michaelmaggard Learn to code with Treehouse Fork Snapshot How to Make a Website - Follow Along with Workspaces css img index.html index.html Click a file on the left to open it
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Michael Maggard | Designer</title> 6 <link rel="stylesheet" href="css/normalize.css"> 7 <link rel"=stylesheet" href="css/main.css"> 8 <body> 9 <header> 10 <a href="index.html"> 11 <h1>Michael Maggard</h1> 12 <h2>Designer</h2> 13 </a> 14 <nav> 15 <ul> 16 <li><a href="index.html">Portfolio</a></li> 17 <Li><a href="about.html">About</a></Li> 18 <li><a href="contact.html">Contact</a></li> 19 </ul> 20 </nav> 21 </header> 22 <section> 23 <ul> 24 <li> 25 <a href="img/numbers-01.jpg"> 26 <img src="img/numbers-01.jpg" alt=""> 27 <p>Experimentation with color and texture.</p> 28 </a> 29 </li> 30 <li> 31 <a href="img/numbers-02.jpg"> 32 <img src="img/numbers-02.jpg" alt=""> 33 <p>Playing with blending modes in Photoshop.</p> 34 </a> 35 </li>
36 <li> 37 <a href="img/numbers-06.jpg"> 38 <img src="img/numbers-06.jpg" alt=""> 39 <p>Trying to create an 80's style of glows.</p> 40 </a> 41 </li>
42 <li> Line 62, Column 10 — 62 Lines HTML