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
Chris Pounds
744 PointsStage 3 task 2of 2 code error Front end web dev
Basically i am getting error:
Bummer! Make sure you include an image tag that displays "img/numbers-02.jpg".
Here is my code inside the tags
!-- <img src="img/numbers-01.jpg" alt="">
<img src="img/numbers-02.jpg" alt="">
<img src="img/numbers-06.jpg" alt="">--!
5 Answers
Craig Schlegel
12,268 PointsI think you forgot the list tags "<li>" (and possibly the unordered list "<ul>" tags). Try this:
<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>
Chris Pounds
744 PointsNo i have those to
!-- <ul>
<li>
<img src="img/numbers-01.jpg" alt="">
</li>
<img src="img/numbers-02.jpg" alt="">
<li>
<img src="img/numbers-06.jpg" alt="">
</li>
<li>
</li>
</ul>--!
Craig Schlegel
12,268 PointsYour code is different. The "li"and"/li" tags should wrap around the "img" tag. Right now that works for your first image (numbers-01.jpg) but the rest of the list tags dont wrap around the image tag. Look at it closely and you might notice the difference
Chris Pounds
744 PointsOh god yeah i see, schoolboy error there...thank you
Craig Schlegel
12,268 PointsNo problem. If you couldn't tell it took me about 9 tries to figure out how to format my answers in this forum so I'm struggling too.
Chris Pounds
744 PointsChris Pounds
744 PointsCommented out for visability