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

When I load my index page my first image is there but then when I refresh it disappears.

When I load my index page my first image is there but then when I refresh it disappears. I'm not sure what is happening. This is the code:

<nav> <ul> <li><a href="index.html" class="selected">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <ul id=gallery> <li> <a href="Img/numbers-01"> <img src="Img/numbers-01" alt=""> <p>Experimentation with color and texture</p> </a> </li> <li> <a href="Img/numbers-02.jpg"> <img src="Img/numbers-02.jpg" alt=""> <p>Blending all the colors in the world</p> </a> </li> <li> <a href="Img/numbers-06.jpg"> <img src="Img/numbers-06.jpg" alt=""> <p>Play</p> </a> </li> <li> <a href="Img/numbers-09.jpg"> <img src="Img/numbers-09.jpg" alt=""> <p>Design</p> </a> </li> <li> <a href="Img/numbers-12.jpg"> <img src="Img/numbers-12.jpg" alt=""> <p>Experimentation and texture</p> </a> </li>
</ul> </section>

1 Answer

Hi Rieke, It seems you are missing the filetype on your first picture. Add .jpg to your first image and it should work.

<a href="Img/numbers-01.jpg">

Oh wow! That was my mistake. Thank you.