Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Creating HTML Content Add Image Gallery Content

My captions are not coming up as links - I have checked and rechecked the code and it matches yours..??

<li> <a href"img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""> <p>Trying to create an 80's style of glows.</p> </a> </li>

3 Answers

It looks like you left an equals sign out for the anchor href link.

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

This should be the correct syntax. Good luck!

I think you also want to close the anchor tag before the paragraph one. This isn't a fix to your problem - Mindy has provided that - but I think the course is expecting the <p> to be outside the <a>.

       <a href="img/numbers-06.jpg">
         <img src="img/numbers-06.jpg" alt="">
       <p>Trying to create an 80's style of glows.</p>

I'm not certain about that but that's my recollection of it ...


Wow how did I miss the = sign before the "" - thanx so much - it was bothering the heck out of me!

steve I rechecked the video and I saw that the anchor was closed after the paragraph..thank you for your help guys n gals

Thanks for that - I'll try to remember it!

Glad you got sorted.

Happy coding!