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

Emma Clark
Emma Clark
2,736 Points

Problem with code challenge

Hi,

I have a problem with my code. The task is telling me that I haven't included "img/numbers-01.jpg" alt""> although I have!
<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-02.jpg" alt=""></a> </li> <li><a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""></a> </li> </section> Can anyone see why the quiz won't allow me to continue? Thanks, Emma

2 Answers

Jeremy Frimond
Jeremy Frimond
14,470 Points

Emma Clark without seeing your full code it is hard to see where you have gone wrong. With that said I input the following and was able to pass the challenge.

maybe your pathway is incorrect?

      <ul>
        <li><img src="img/numbers-01.jpg"></li>
        <li><img src="img/numbers-02.jpg"></li>
        <li><img src="img/numbers-06.jpg"></li>
      </ul>
Emma Clark
Emma Clark
2,736 Points

The code disappeared... my mistake. I haven't worked out how to include a screen shot yet. However I worked out the solution to my problem. Thanks anyway!