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

Kazira von miaow
355 PointsMy css isn't working. I've read the other Q&As, css is in lower case, no spaces before or after.
Here is my code:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nick Pettit | Designer</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/main2.css">
<style>
footer a {
color: pink;
}
</a>
</style>
</head>
<body>
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<ul>
<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
<p>Experimentation with color and texture</p>
</a>
</li>
<li>
<a href="img/numbers-02.jpg">
<img src="img/numbers-02.jpg" alt="">
<p>Playing with blending modes in photoshop</p>
</a>
</li>
<li>
<a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
<p>Trying to create an 80s style of glows</p>
</a>
</li>
<li>
<a href="img/numbers-09.jpg">
<img src="img/numbers-09.jpg" alt="">
<p>Drips created using photoshop brushes</p>
</a>
</li>
<li>
<a href="img/numbers-12.jpg">
<img src="img/numbers-12.jpg" alt="">
<p>Creating shapes using repetition</p>
</a>
</li>
</ul>
</section>
<footer>
<a href="https://twitter.com/mariposa4444"><img src="img/twitter.png" alt="Twitter Logo"></a>
<a href="https://www.facebook.com/monifa.alfayed"><img src="img/facebook.png" alt="Facebook Logo"</a>
</footer>
<a><p>© 2015 MiaowMail, a student of Nick Pettit.</p></a>
</div>
</body>
</html>
and the css:
body {
background-color; green:
}

Ham Hamey
5,712 Pointsit should be
just beware in using semicolon ";" and ":"

Costache Robert
20,190 PointsHello , you need to use "body{background-color:green;}you switch the sign
4 Answers

Jake Ford
9,230 PointsLike Shubham noted above, you just got your semicolon and colon mixed up:
It should be:
body{background-color:green;}

Kazira von miaow
355 PointsThank you! I corrected it but it still isn't working.

Luke Glazebrook
13,564 PointsHi!
Did you manage to get this working? Did the above solutions work out for you? If so, please go ahead and mark a correct answer so the other members of the Treehouse community know that your problem has been solved.
However, if you still need help don't hesitate to ask again!
-Luke

Kazira von miaow
355 PointsI corrected it as the helpful people suggested but it still isn't working.

Ham Hamey
5,712 Points<head>
<style>
body{background-color:green;}
</style>
</head>
Well do one thing in your head tag put a tag of style like this i think the problem is in the directory structure in your css also check this line
<style>
footer a {
color: pink;
}
</a>
</style>
here the anchor tag may be causing problem

Kazira von miaow
355 PointsIt actually didn't work until I put in the anchor tag, the footer wasn't changing colour at all! So I managed to get the footer to change colour, but now can't change the body of the document. Thank you!
Grr nothing works, this is so frustrating!

Kazira von miaow
355 PointsThank you! I tried it exactly as you specified and nothing! This is tough!
Kazira von miaow
355 PointsKazira von miaow
355 PointsI want to add, I always refresh the page before checking the preview. I also cleared the cache. Thank you for any help.