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

My css doesn't seem to be working in the footer. I have checked and don't see any errors but I feel something is wrong.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Ross Cessna | Practice</title>
    <link rel="stylesheet" href="css/normalize.css>
    <style>
      footer {
color: white;
background-color: orange;
      }
    </style>
  </head>
  <body>
    <header>
     <a href="index.html">
      <h1>Ross Cessna</h1>
      <h2>Practice</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/numbers-01.jpg">
            <img src="img/numbers-01.jpg" alt="">  
            <p>need own images</p>
          </a>
        </li>
         <li>
          <a href="img/numbers-02.jpg">
            <img src="img/numbers-02.jpg" alt="">  
            <p>need own images</p>
          </a>
        </li>
        <li>
          <a href="img/numbers-06.jpg">
            <img src="img/numbers-06.jpg" alt="">  
            <p>need own images</p>
          </a>
        </li>
        <li>
          <a href="img/numbers-09.jpg">
            <img src="img/numbers-09.jpg" alt="">  
            <p>need own images</p>
          </a>
        </li>
        <li>
          <a href="img/numbers-12.jpg">
            <img src="img/numbers-12.jpg" alt="">  
            <p>need own images</p>
          </a>
        </li>
      </ul>
    </section>
    <footer>
      <a href="http://twitter.com/rossc222"><img src="img/twitter-wrap.png" alt ="twitter logo">
      <a href="http://facebook.com/ross.cessna"><img src="img/facebook-wrap.png" alt ="facebook logo">
       <p>&copy; 2015 Ross Cessna</p>
    </footer>
  </body>
</html> 

I hope the above code helps.

1 Answer

Hi, Ross. I've edited your code so that it appears properly in your question. As to why you're not seeing the footer styles applied, it's because you've forgotten to close the double quotes from the previous tag. You have this:

<link rel="stylesheet" href="css/normalize.css>

but it should be this:

<link rel="stylesheet" href="css/normalize.css">

Thanks for such a quick response Ryan. I appreciate it.

You're very welcome! :)

Please mark this topic as resolved, otherwise it clutters the list of unanswered questions =)