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

Images and captions don't link to full size image.

I did everything that he did in the video but somehow the links don't seem to work.

I am using windows 8.1 and Google Chrome.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> Jan Mölich | Nepal Expedition</title> </head> <body> <header> <a href="index.html"> <h1>Jan Mölich</h1> <h2> Expedition to Nepal 2k15</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> <a href"img/GOPR5682.jpg"> <img src="img/GOPR5682.jpg" alt=""> <p>The Daily View.</p> </a> </li> <li> <a href"img/GOPR5686.jpg"> <img src="img/GOPR5686.jpg" alt=""> <p>Garbage bags around the trek.</p> </a> </li> <li> <a href"img/GOPR5688.jpg"> <img src="img/GOPR5688.jpg" alt=""> <p>Garbage bags around the trek.</p> </a> </li> <li> <a href"img/GOPR5693.jpg"> <img src="img/GOPR5693.jpg" alt=""> <p>View from Poonhill.</p> </a> </li> <li> <a href"img/GOPR5698.jpg"> <img src="img/GOPR5698.jpg" alt=""> <p>Fire pit for garbage combustion.</p> </a> </li> </ul> </section> <footer> <p>© 2015 Jan Mölich.</p> </footer> </body> </html>

1 Answer

Joseph Dionne
Joseph Dionne
7,742 Points

Your anchor links are missing the '=' sign after every href. They look like this:

<a href"img/GOPR5682.jpg">

But they should look like this:

<a href="img/GOPR5682.jpg">

Thanks a lot!