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

Add Image Gallery Content

I added in the images to Workspace for this lesson, but when I go to Preview, it only shows me miniature image icons rather than the images themselves. I have verified I'm putting in the code correctly, so I'm not sure what's going on.

I'll modify that question a little bit. I just now saw that the icons actually bring up the images when I click on them. But I'm still not sure why it won't show the images to me in the main preview rather than the icons.

1 Answer

   <ul>
       <li>
         <a href="img/java.jpg">
         <img src="img/java.jpg" alt="">
         <p>Learning Java Step by Step.</p>
         </a>
  </li> 
           <li>
         <a href="img/Web.png">
         <img src="img/Web.png" alt="">
         <p>Learning Web Design with HTML and CSS</p>
         </a>
  </li> 
           <li>
         <a href="img/C.jpg">
         <img src="img/C.jpg" alt="">
         <p>First Programming language I learned.</p>
         </a>
  </li> 
           <li>
         <a href="img/php.jpg">
         <img src="img/php.jpg" alt="">
         <p>Going to start learning PHP soon!</p>
         </a>
  </li> 
           <li>
         <a href="img/Chess.jpg">
         <img src="img/Chess.jpg" alt="">
         <p>Playing Chess and learning tactics.</p>
         </a>
  </li> 
        </ul>

Is this your code? Compare this one to yours...Closing tags in the right place?

P.S. These are different images and subtitles than nick used.

Should have same format as nicks though.