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 Creating HTML Content Structure the Image Gallery

My image is not displaying when I refresh my page.

I uploaded the image files to workspace and proceeded to code in the first image but all I am getting in the browser is the image icon.

It is probably a syntax error. My best guess without the code is that you use "href" instead of src="".

Is there a way for me to be able to show you my code in Workspace?

yes there is .

Post your code here like that

@```html

@```

Write these three and then next to it name so if its HTML wirte HTML without the space on a single line and close it with ```

Like on the code but without the email symbol.

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Jonathan Pearson | Photographer</title>
  </head>
  <body>
    <header>
      <a href="index.html"> 
        <h1>Jonathan Pearson</h1>
        <h2>Photographer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html">Porfolio</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
    <section>
      <ul>
        <li>
          <img src="img/numbers-01.jpg" alt="">
        </li>
      </ul>
    </section>
    <footer>
      <p>&copy; 2014 Jonathan Pearson.</p>
    </footer>
  </body>
 </html>

2 Answers

just watch the video and make sure everything is right

That what's confusing me. I think I did everything right and yet my picture isn't displaying. Could it be my picture file didn't connect through workspace correctly?

I am having the same problem. All syntax seems to be correct but the image just isn't showing.

I think the problem is with workspace. I switched over to sublime text and it works fine now.