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 Organize with Unordered Lists

Image tag displays using img/numbers-01.jpg

I seem to be doing something wrong here but not sure what? Can someone see whats wrong here?

<section>
  <ul>
  <li>
    <a href="img/numbers-01.jpg">
        <img src"img/numbers-01.jpg" alt="">
   </a>
  </li>
 <li>
    <a href="img/numbers-02.jpg">
        <img src"img/numbers-01.jpg" alt="">
   </a>
  </li>
 <li>
    <a href="img/numbers-06.jpg">
        <img src"img/numbers-01.jpg" alt="">
   </a>
  </li>
</section>

4 Answers

Daniel Aguirre
Daniel Aguirre
4,498 Points

I think the correct code is <img src="img/numbers-02.jpg"> you are missing the = after src

Ahhhhhhhhh!!!! I think your right! I didn't notice that!

thanks!

James Barnett
James Barnett
39,199 Points

Bryan Montgomery -

Check out the syntax highlighting (the text colors) the forum put on your code.

Do you notice how the src attribute is highlighted that's a hint to take a 2nd look at your HTML as it may not be valid.

Got it figured out, it was the missing = sign and it also didn't want me to add the link. so added the = and deleted the href... And I'm good to go! I will keep in mind the highlight hints for the future.

Thanks for the info/help on this James and Daniel!