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

Why don't any of my captions have links like in the video?

I followed the steps in the video. Everything looks fine except that my captions aren't linking.

Here's the snapshot of my Workspace.

Hi Darrell,

Can you post a snapshot of your workspace so that we can see what you currently have for your code? If you don't know how to do that, you can check out this forum post: http://www.teamtreehouse.com/forum/workspace-snapshots

Ok added the snapshot.

2 Answers

Darrell,

I made a new snapshot of your workspace. https://w.trhou.se/dvurtg6leb

You not only had forgotten an = on all of your href attributes, but in your navigation, you were also putting text outside of the <a> elements. You always put the text inside of the element like so:

          <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>

Always remember to put an = sign for any HTML attribute! :)

Roberto Alicata
PLUS
Roberto Alicata
Courses Plus Student 39,959 Points

You forgot the equal sign before href in all the link tags:

          <a href"img/numbers-01.jpg">

will be

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

Whoops. Thank you! I didn't even notice I did that.