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 trialJacob Israeli
Courses Plus Student 3,702 Pointswhat 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.
5 Answers
Sreng Hong
15,083 PointsAre 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
Courses Plus Student 3,702 PointsYes, Sreng, that is exactly what I have. What have I done incorrectly?
Sreng Hong
15,083 PointsIn 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
15,083 PointsMine is working fine, Jacob!!! I don't know the problem too.
Jacob Israeli
Courses Plus Student 3,702 PointsI'll copy and paste yours against mine. Will see if I can find any differences. Are you a developer?
Sreng Hong
15,083 PointsNo, I'm a student too!!!
Martin Švec
8,208 PointsI 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
15,083 PointsHi Martin, you can just drag and drop the img file into the workspace then it will upload to your workspace.
Devah Lucus
1,066 PointsI 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.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi 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