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 trialJudith King
1,356 Pointsadding images
what am i doing wrong. so frustrated.
<section> <ul> <li><img src="img/numbers-01.jpeg" alt""></li> <li><img src="img/numbers-02.jpeg" alt""></li> <li><img src="img/numbers-06.jpeg" alt""></li>
</ul>
</section>
2 Answers
notf0und
11,940 PointsWhat exactly are you trying to add the image to? As Michael Alaev said, the full code would be very helpful :)
I can only guess that you're trying to add an image to a list element, so you'd do as such:
'''html <li><img src="images/photo1.jpg" alt=""></li> ''' or for http links:
'''html <li><img src="https://wac.a8b5.edgecastcdn.net/80A8B5/achievement-images/flags/ipad_default_2x_cover-css-foundations.png" alt=""></li> '''
Judith King
1,356 PointsTHANKS FOR RESPONDING. I WAS ABLE TO figure it out, i had the file name wrong.
Michael Alaev
5,415 PointsMichael Alaev
5,415 PointsCan you post the full code here?