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 trialVitaly Barinov
1,218 Points<a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> What else???????
I just don't get what else is required to proceed... even preveiw is fine, but every time Bummer! comes out.
<!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>
<ul>
<li>
<a href="img/numbers-01.jpg">
<img src="img/numbers-01.jpg" alt="">
</a>
</li>
<li><a href="img/numbers-02.jpg">
<img src="img/numbers-02.jpg" alt="">
</a>
</li>
<li><a href="img/numbers-06.jpg">
<img src="img/numbers-06.jpg" alt="">
</a>
</li>
</ul>
</section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
5 Answers
Chyno Deluxe
16,936 PointsThe challenge is asking you to place the img tags within each list item. But it also ask that you include blank alt tags and no links. your current code has anchor tags that are not asked for.
I hope this helps.
Vitaly Barinov
1,218 PointsDidn't help... It says "Make sure you include an image tag that displays "img/images-01.jpg""
Jeremy Davis
9,427 PointsHey Vitaly,
For the challenge you've linked to, I believe your three list items inside of the section need to be empty. It says:
"This will become an image gallery, but donβt fill in the list items just yet."
That could be what's causing the error. The code looks great otherwise. Hope that helps!
Vitaly Barinov
1,218 PointsThanks, but the second task requires to fill them in as displayed.... well almost)
Caio Guerra
2,648 PointsHi Vitaly,
The challenge requires to write an unordered list, inside "section" tag, containing three "li" elements without anything inside that. Like this:
<pre> <ul> <li></li> <li></li> <li></li> </ul> </pre>
Vitaly Barinov
1,218 PointsThanks, the first task is the one I've passed, the problem comes out when I proceed to the second one where I am required to fill the list with tags of the picture. The "Bummer" for my code sounds like: "Make sure you include an image tag that displays "img/images-01.jpg""
Caio Guerra
2,648 PointsThe problem is the image name, look at the bummer warning: "an image tag that displays "img/images-01.jpg"", you are putting images called "numbers" and not "images".
I hope that it solves your problem.
Chyno Deluxe
16,936 PointsHere is what passed the challenge for me. Using the code you provided I just removed the anchor tags and the code was accepted as passing both steps.
<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>
I hope this helps.
Vitaly Barinov
1,218 PointsThanks, the mistake was that I wrote "images" instead of "numbers"...
md alamin
550 Pointsmd alamin
550 Pointsneed a caption to be added. ex: <p>your sentence ............</p> then anchor tag ending..