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 Build a Simple Website Text Editors and HTML Creating Structure

Kayla Buchanan
Kayla Buchanan
988 Points

Project Files

Before beginning these lessons, do I need to download source files so that my images show up etc.? I have now done this, but my images are still not appearing on my browser page, despite being in a folder on my desktop and included in my img tags as directed by the course.

Kayla Buchanan
Kayla Buchanan
988 Points
<body>
  <img src="img/logo.gif" alt="smells Like Bakin">
  <ul class="nav">
    <li><a href="#">About</a></li>
    <li><a href="#">Cupcakes & Prices</a></li>
    <li><a href="#">Locations</a></li>
    <li class="last"><a href="#">Contact Us</a></li>
  </ul>
  <div id="intro">
    <h1>Opposites Do Attract</h1>
    <p><a href="#" class="btn">Browse Our Cupcakes</a></p>
  </div>

  <img src="img/you-bake-me-blush.gif" alt="you bake me blush">
</body>

Before beginning these lessons, do I need to download source files so that my images show up etc.? I have now done this, but my images are still not appearing on my browser page, despite being in a folder on my desktop and included in my img tags as directed by the course.

2 Answers

Igor Kletsov
Igor Kletsov
7,556 Points

Hey. Check index.html file must be in the same folder as the folder "image". For example: if "\user\Desctop\index.html" then \user\Desctop\img\"

Your images need to be in a folder called 'img'. This is because your code is looking for them there, for example: img/you-bake-me-blush.gif

Here's what the folder contents should look like:

index.html /img