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

CSS How to Make a Website CSS: Cascading Style Sheets What is CSS?

Heather Woods
Heather Woods
5,330 Points

I cannot change the color of my footer

I have read the other questions on the same topic and followed the suggestions of changing it to footer p, still wouldn't change color.

Heather Woods
Heather Woods
5,330 Points

<html> <head> <meta charset="utf-8"> <title>Heather Woods | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <style> footer p { color: green; } </style> </head> <body>

Heather Woods
Heather Woods
5,330 Points

<footer> <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo"</a> <a href="http://facebook.com/heatherelizabethwoods"><img src="img/facebook-wrap.png" alt="Facebook Logo"</a> <p>© 2015 Heather Woods.</p> </footer> </body> </html>

Hey Heather, I don't see the opening tag of the footer. "<footer>". Is that missing?

Heather Woods
Heather Woods
5,330 Points

no the opening tag is there, it just wont show up in the comment for some reason

Heather Woods
Heather Woods
5,330 Points

sorry about this...

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Heather Woods | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <style> footer p { color: green; } </style> </head> <body> <header> <a href="index.html"> <h1>Heather Woods</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>
<section>
  <ul>
    <li>
      <a href="img/number-01.jpg">
        <img src="img/numbers-01.jpg" alt="">
        <p>Expirimentation with color and texture.</p>
      </a>
    </li>
    <li>
      <a href="img/number-02.jpg">
        <img src="img/numbers-02.jpg" alt="">
        <p>Playing with blending modes in photoshop.</p>
      </a>
    </li>   
    <li>
      <a href="img/number-06.jpg">
        <img src="img/numbers-06.jpg" alt="">
        <p>Trying to create an 80's style of glows.</p>
      </a>
    </li>
    <li>
      <a href="img/number-09.jpg">
        <img src="img/numbers-09.jpg" alt="">
        <p>Drips created using Photoshop brushes.</p>
      </a>
    </li>
    <li>
      <a href="img/number-12.jpg">
        <img src="img/numbers-12.jpg" alt="">
        <p>Creating shapes using repetition.</p>
      </a>
    </li>
  </ul>
</section
<footer>
  <a href="http://twitter.com/nickrp"><img src="img/twitter-wrap.png" alt="Twitter Logo"</a>
  <a href="http://facebook.com/heatherelizabethwoods"><img src="img/facebook-wrap.png" alt="Facebook Logo"</a>
  <p>&copy; 2015 Heather Woods.</p>
</footer>

</body> </html>

Oh ok. I'm not a CSS ninja or anything like that, but I believe that if you want it to show using this method, you have to put the "style" tags in the head of your HTML between <head> and </head>.

But this isn't the best way to style your document either. If this class is with Nick, I'm sure he'll show you the better way in the next video.

Oh, also "section" isn't closed

Heather Woods
Heather Woods
5,330 Points

Thank you Tony and Joseph, closing the section worked! I thought I was super careful to close my tags but apparently it's easy to overlook something like that!

1 Answer

Joseph Dionne
Joseph Dionne
7,742 Points

Try finishing the closing tag '/section' directly before the opening 'footer' tag at the bottom of your document. It is missing the 'greater-than' symbol.