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 trialdragos cocos
Courses Plus Student 1,408 PointsBummer! Make sure you include an image tag that displays "img/numbers-01.jpg"
can't pass this error ! here is the code :
<!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>
<img scr="img/numbers-01.jpg" alt="">
</li>
<li>
<img scr="img/numbers-02.jpg" alt="">
</li>
<li>
<img scr="img/numbers-06.jpg" alt="">
</li>
</ul>
</section>
<footer>
<p>© 2013 Nick Pettit.</p>
</footer>
</body>
</html>
4 Answers
Ryan Boone
26,518 Pointssrc not scr.
Ryan Boone
26,518 PointsIt's a common mistake, I assure you. It's always hard to catch spelling errors.
Chris Shaw
26,676 PointsHi dragos,
You have a minor typo in your code which is you have scr
instead of src
which is causing the failure, change that and you'll be set.
EDIT: Ryan Boone beat me to it
Adam Moore
21,956 PointsIt looks like you have "scr" instead of "src" for the source. Small little typos like this are SO often my problem in getting things to work! :)
Jamie N
4,116 PointsWhat i normally do when I can't pass a code challenge, after looking for ages and not finding it. I rewrite that part of code and then when I pass it I undo and look at what I did wrong. Or rewrite the new code underneath the old code and try and spot the difference as generally you won't make the exact same mistake twice.
Adam Moore
21,956 PointsAdam Moore
21,956 PointsCan you explain the issue a bit more? Or show your entire code? It'll be fairly difficult to determine the nature of your question without knowing the specifics.