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

Mary Grow
Mary Grow
995 Points

I keep getting an error: Make sure you include an image tag that displays "img/numbers-01.jpg".

the code I used was:

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

Hi Mary,

I went ahead and fixed your code formatting for you. The forums will strip out html.

Please see this thread: https://teamtreehouse.com/forum/posting-code-to-the-forum

Check Ken's link to see what you did wrong. Hint: You did too much. :)

2 Answers

Hi,

To have an image you need to use the code :

<img src="img/numbers-01.jpg" alt="OPTIONAL" >

Hope this helps

To post your code, look on the right, Tips for asking questions

Write this

@``` html

@```

but without the space and without the email symbol , put your code between.

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Mary;

Welcome to Treehouse Island! This challenge creates lots of questions. I answered one similar question here. Hopefully that will help explain things a bit.

Ken