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 Organize with Unordered Lists

Deborah Williamson
Deborah Williamson
2,997 Points

images wont appear

I'm following all the steps and my images wont appear in the "website". here's a picture

Deborah Williamson
Deborah Williamson
2,997 Points
<!DOCTYPE html>
<html>
   <head>
     <meta charset="utf-8">
  <title>Deborah Williamson</title>
  </head>
  <body>
    <header>
      <a href="index.htm">
    <h1>Deborah Williamson</h1>
    <h2>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.htm">Contact</a></li>
        </ul>
      </nav>
      </header>
    <section>
      <ul>
        <li>
        <img src="img/numbers-01.jpg" alt="">
        </li>
      </ul>
    </section>
    <footer>
    <p>&copy; Deborah Williamson.</p>
    </footer>
  </body>
</html>
Deborah Williamson
Deborah Williamson
2,997 Points

i dont know if anyone will see this.... but nothing is working for me....

4 Answers

Samuel Webb
Samuel Webb
25,370 Points

If you input all three images and hit the preview button, you'll see no images. Once you hit the submit button, while in preview mode, the images will show up. Your code for the first image is correct. It should look like thisl:

<section>
    <ul>
        <li><img src="img/numbers-01.jpg" alt=""></li>
        <li><img src="img/numbers-02.jpg" alt=""></li>
        <li><img src="img/numbers-06.jpg" alt=""></li>
    </ul>
</section>

i used your code and an image i had (renamed to numbers-01.jpg) and it worked fine.

if you see no image, the only thing i can think of is, that you mis-spelled the name or it is not within the img folder.

I have renamed my image also. First, it did not appear, but when I refreshed my page, my image was appeared.

glad to see it works