Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

My image does not show up on the preview page, all I see is an extra bullet point. Any ideas?

I have already deleted and re-uploaded the image, checked the spelling, location, etc.

Can you post your code that is in question?

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Michelle Hart | Designer</title>
  </head>
  <body>
     <header>
        <a href="index.html">
          <h1>Michelle Hart</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.html">Contact</a></li>
          </ul>
        </nav>
     </header>
     <section>
        <ul>
          <li>
            <img src"img/numbers.01.jpg" alt="">
          </li>
        </ul>
     </section>
     <footer>
        <p>&copy; 2015 Michelle Hart.</p>
     </footer>
  </body>  
</html>

3 Answers

Try this.

<img src="img/numbers.01.jpg" alt="">

You just forgot the equal sign.

Thank you, I added, but now I get just a box. No image =/

Thomas Greer
Thomas Greer
8,257 Points

Make sure you have imported numbers.01.jpg into the img folder in workspaces.

Add an underscore

img/numbers_01.jpg```
``` <img src="img/numbers_01.jpg" alt="">```

Nothing changes by adding the under score. Anything else I can try?

Create a Snapshot Workspace by clicking on the image that is to the left of the eye and provide a link.

Where is your CSS file?

Try this. You need to capitalize IMG since your file is capitalized in your workspace.

<img src="IMG/numbers.01.jpg" alt="">

Oh wow. I feel dumb. lol Thank you, that worked.

It is a very common mistake for web designers.

Thomas Greer
Thomas Greer
8,257 Points

img src=""....... don't forget the equals sign before the quotations.

Demauri Portis
Demauri Portis
4,809 Points

your'e just missing the equal sign, makes a big difference.