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 Take a Mobile-First Approach

Michael Cohen
Michael Cohen
355 Points

NOTHING is happening when I incorporate CSS changes. What's up with that?

Seriously. Some stuff turned orange at one point, and I got the text to appear white on it, but nothing in the step before that and no changes afterwards.

Hi Michael,

Can you give us an update on what styles you're not seeing at this point?

You can also post a snapshot of your workspace if you're still having trouble with this: https://teamtreehouse.com/forum/workspace-snapshots

The only thing I see right now is your padding declaration has the % and the 5 reversed making it invalid.

 padding: 0 %5;
Michael Cohen
Michael Cohen
355 Points

Yes, I posted a snapshot

I don't see the snapshot link.

4 Answers

Jelger Kingma
Jelger Kingma
9,684 Points
  • first. in your li item > contact.html you are missing the opening " (does not affect the problem with css)
  • secondly. you have forgotten to set a value to the id in your div after the closing header tag to "wrapper" (adding this will solve your problem)
Michael Cohen
Michael Cohen
355 Points

1) incorporated the change. doesn't do much. 2) changing the div wrapper thing doesn't seem to do anything. Unless I've written this wrong again...

Please help. This sucks!

Can you post a snapshot of your workspace? That would be the easiest way to check your code.

Did you change the percent padding that I mentioned above?

Isaac Byrne
Isaac Byrne
17,720 Points

Can you please post the code you are working with? it will make it much easier to diagnose the problem.

Michael Cohen
Michael Cohen
355 Points

Here it is:

<!DOCTYPE html>
<html>
  <head>
     <meta charset="utf-8">
    <title>Mike Cohen | Music and Sound</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/main.css">

  </head>
  <body>
    <header>
      <a href="index.html" id="logo">
      <h1>Mike Cohen</h1>
      <h2>Music and Sound</h2>
      </a>
      <nav>
      <ul>
        <li><a href="index.html">Reel</a></li>
        <li><a href="about.html">About</a></li>
        <li><a href=contact.html">Contact</a></li>
        </ul>
      </nav>
      </header>
    <div id>
        <section>
    <ul>
      <li>
        <a href="img/number-01.jpg">
          <img src="img/numbers-01.jpg" alt="">
          <p>Experimentation 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>80s style of glows</p>
          </a>
        </li>
         <li>
        <a href="img/number-09.jpg">
          <img src="img/numbers-09.jpg" alt="">
          <p>Drips</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/nickpettit"><img src="img/facebook-wrap.png" alt="="Facebook Logo"></a>
          <p>&copy; 2015 Mike Cohen.</p>
        </footer>
</div>
    </body>
  </html>
Michael Cohen
Michael Cohen
355 Points
a {
  text-decoration: none;
    }

#wrapper {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 %5;
  }

#logo {
  text-align: center;
  margin: 0;
}