Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Unsubscribed User
2,597 PointsTry to type : src=".../img/logo.png" but still wrong
what is wrong ?
<!DOCTYPE html>
<html>
<head>
<title>Portfolio Page</title>
</head>
<body>
<img src="/img/logo.png" alt="Site logo">
<ul>
<li><a href="">Home</a></li>
<li><a href="">Portfolio</a></li>
</ul>
<h1 id="portfolio">My Portfolio</h1>
</body>
</html>
3 Answers

Liam Clarke
19,890 PointsAlmost got it Felix
to go back one directory its 2 dots and a forward slash, not 3
../
<!DOCTYPE html>
<html>
<head>
<title>Portfolio Page</title>
</head>
<body>
<img src="../img/logo.png" alt="Site logo">
<ul>
<li><a href="">Home</a></li>
<li><a href="">Portfolio</a></li>
</ul>
<h1 id="portfolio">My Portfolio</h1>
</body>
</html>

Ajay Prasannan
16,002 PointsYou're nearly there, but try two period characters, and that should make the browser look at the parent folder before diving into the img folder.
../img/logo.png

Unsubscribed User
2,597 PointsThanks for your answer Liam and Ajay. It is so helpfull.
urbfbfbf rbrbbd
30 Pointsurbfbfbf rbrbbd
30 Points