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

Jacob Israeli
PLUS
Jacob Israeli
Courses Plus Student 3,702 Points

what is wrong with my code on this exercise?

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

it asks for these three images inside of li's and says to leave the alt values blanks. i've done that and the code isn't passing.

Hi Jacob,

Not all of your html is there.

Here's some info on how to post code in the forums: https://teamtreehouse.com/forum/posting-code-to-the-forum

5 Answers

Sreng Hong
Sreng Hong
15,083 Points

Are your HTML code like this? <br>

<section>
      <ul>
        <li><img src="img/numbers-01.jpg" alt=""></li>
        <li><img src="img/numbers-02.jpg" alt=""></li>
        <li><img src="img/numbers-06.jpg" alt=""></li>
      </ul>
</section>
Jacob Israeli
PLUS
Jacob Israeli
Courses Plus Student 3,702 Points

Yes, Sreng, that is exactly what I have. What have I done incorrectly?

Sreng Hong
Sreng Hong
15,083 Points

In the first challenge, you need to add ul tag that include three empty li tag <br> in the section tag at line 21 <br>

    <section>
      <ul>
        <li></li>
        <li></li>
        <li></li>
      </ul>
    </section>
Sreng Hong
Sreng Hong
15,083 Points

Mine is working fine, Jacob!!! I don't know the problem too.

Jacob Israeli
PLUS
Jacob Israeli
Courses Plus Student 3,702 Points

I'll copy and paste yours against mine. Will see if I can find any differences. Are you a developer?

Sreng Hong
Sreng Hong
15,083 Points

No, I'm a student too!!!

Martin Švec
Martin Švec
8,208 Points

I have the same problem with this exercise. Is there a way how to create img folder in the exercise workspace? I think its absence may be my problem. Have the same code like Sreng Hong showed above, but still images are no to be seen.

Thank you!

Sreng Hong
Sreng Hong
15,083 Points

Hi Martin, you can just drag and drop the img file into the workspace then it will upload to your workspace.

I have the files in the workspace and it is still not working. I can't get past this and I can't figure out how my code is wrong.