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 Add Image Gallery Content

Hardy Huang
Hardy Huang
304 Points

Port 80 won't display image?

The image doesn't show up on preview, I copied everything the video did too. It only show a dot like the dots next to the 3 header above, but not the picture. Please help! I am using Windows, and on pentium. Is it my laptop's fault on loading or just mistake on the codes?

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>InfiniteCode</title>
  </head>
  <body>
    <header>
      <a href ="index.html">
        <h1>InfiniteCode</h1>
        <h2>HTML/CSS Programmer</h2>
      </a>
      <nav>
        <ul> 
          <li><a href ="index.html">Home</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 scr="img/numbers-01.jpg" alt ="">
        </li>
      </ul>
    </section>
    <footer>
      <p>&copy; Copyright 2014</p>
    </footer>
  </body>
</html>
Ken Alger
Ken Alger
Treehouse Teacher

Hardy;

Will you post your code utilizing the Markdown Cheatsheet guidelines (link located beneath the text box to input questions, comments, or answers)? It will make it much easier for others to troubleshoot your issue with the code you are using.

Thanks,

Ken

The code formatting has been fixed.

2 Answers

It looks like a typo in this line

<img scr="img/numbers-01.jpg" alt ="">

scr should be src

Hi there, you wrote scr instead of src on the img tag...