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 trialJohn Kumar
13,937 PointsIn this task, do I have to upload the images? I used the right code but the page does not display the images.
On part two of this exercise I appropriately placed the <img src "img/numbers-01.jpg" alt=""> underneath the list item tag. However, this image does not show up. I believe it is because I have to upload the images first. I uploaded the images and I get an error message. Please help.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nick Pettit</title>
</head>
<body>
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<section>
</section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
3 Answers
John Kumar
13,937 PointsI figured it out and it is exactly as you stated above. Thanks for the clear explanation. Looking forward to more vids. These things are challenging.
Christopher Lebbano
15,338 PointsHere is how I completed the challenge, you have to include all of these inside the section tag.
<section>
<ul>
<li><img src="numbers-01.jpg" alt=""></li>
<li><img src="numbers-02.jpg" alt=""></li>
<li><img src="numbers-06.jpg" alt=""></li>
</ul>
</section>
John Kumar
13,937 PointsIm sorry my post does not make much sense so I will add to it. In the "How to Make a Website" task they require me to put list tags followed by a image tag. I supplied the following codes to complete the task but for some reason it does not work.
<li>
<a href = "img/numbers-01.jpg"> <img src = "img/numbers-01.jpg" alt=""> </a>
</li>
I do not see anything wrong with the code above (forgive me I am a newbie). The only thing that I see wrong is the only document within the task is the html document itself. The code requires to call upon a file that I do not see as a part of the task. Can anyone help?
Christopher Lebbano
15,338 PointsThe challenge does not want you to actually include any anchor elements quite yet, just the images. I think that's why it wasn't working.
Christopher Lebbano
15,338 PointsChristopher Lebbano
15,338 PointsGood luck!