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

HTML How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Linking HTML with CSS

Hey guys, I'm not sure what I'm doing wrong. The css file is on the correct folder, named with all lowercase and I even added the text attribute as I've seen on some other forums that this has helped but it still does not seem to work.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Whitney P. Giron | Graphic Deseigner</title>
    <link rel="stylesheet" type="text/css" href="css/normalize.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
  </head>

5 Answers

Mikkel Rasmussen
Mikkel Rasmussen
31,772 Points

Can you take a quick snapshot using the camera icon in the top right and post the link :) So we can see that its actually the right root to the css?

Mikkel Rasmussen
Mikkel Rasmussen
31,772 Points

It works for me :) So does it work for you now ?

Really? I just tried it again and it still doesn't work :(

Mikkel Rasmussen
Mikkel Rasmussen
31,772 Points

Okay try add this in your index.html - and remember to save ;)

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Whitney P. Giron | Graphic Deseigner</title>
    <link rel="stylesheet" type="text/css" href="css/normalize.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
  </head>
  <body>
    <header>
    <a href="index.html"> 
      <h1>Whitney P. Giron</h1>
      <h2>Graphic 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/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 80's glow.</p>
          </a>
        </li>
         <li>
          <a href="img/numbers-09.jpg">
            <img src="img/numbers-09.jpg" alt="">
            <p>Experementing in Photoshop.</p>
          </a>
        </li>
         <li>
          <a href="img/numbers-12.jpg">
            <img src="img/numbers-12.jpg" alt="">
            <p>drips creating photoshop brushes.</p>
          </a>
        </li>  
      </ul>
    </section>
    <footer>
      <a href="https://twitter.com/itterkid"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
      <a href="https://www.facebook.com/whitney.perea?fref=ts"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>
      <p>&copy; 2015 Whitney P. Giron</p>
    </footer>
  </body>
</html>

still nothing....I'm going to try it on another computer to see if it works. Also, how do you copy the code the way you just did?

Mikkel Rasmussen
Mikkel Rasmussen
31,772 Points

If you click on the Markdown Cheatsheet at the bold text under the input field above the post answer button and that will make a popup that shows how to do it :)

I tried it on my laptop and it worked. thanks for the help! :)

Mikkel Rasmussen
Mikkel Rasmussen
31,772 Points

If you would make my post as solved that would be great :)

awesome. Thank you