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 Styling Web Pages and Navigation Style the Image Captions

Can't align images side by side? Also, the text will not turn grey.

Hi there, I think i've copied all of the correct code, but my preview still looks very different than the sample. What did I do wrong?

Hi Meagan,

Could you paste you code in please and we'll take a look?

Thanks

-Rich

3 Answers

Yes. The code is correct, but the preview is not responding to my changes. This has never happened before.

Are you saving the file and refreshing the preview?

Hi Meagan,

I'm not 100% sure of the problem in this instance but one way to test this would be to create the same setup locally copying the code in to a text editor and saving as index.html, etc.

You could then view the website in your browser to determine whether it's a code issue or a problem with Workspaces.

Apologies I can't be more help but this should at least help you to narrow down the issue.

Thanks

-Rich

Hi Rich, Thanks for your help. I think Treehouse is having a glitch problem. I logged out and reopened my workspace and it previewed th correct changes. However, now my header reads "Nick Pettit" although I changed it. See below:

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Meagan Hubin | Designer</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='http://fonts.googleapis.com/css?family=Montserrat:700|Open+Sans:300' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">
  </head>
  <body>
    <header>
      <a href="index.html" id="logo">
        <h1>Meagan Hubin</h1>
        <h2>Designer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html" class="selected">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 id="gallery">
          <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 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="http://twitter.com/meagan"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a>
        <a href="http://facebook.com/meagan"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a>
        <p>&copy; 2014 Meagan Hubin.</p>
      </footer>
    </div>
  </body>
</html>

Is this me or treehouse? Thanks

Hi Meagan,

I have to be honest, I'm not sure on this one. Is the code displaying your name and the website displaying Nick's?

Thanks

-Rich