HTML HTML Basics Going Further with HTML Links and Paths Challenge

Kim Dallas
Kim Dallas
11,461 Points

where do I put the img

what have I done wrong?

index.html
<!DOCTYPE html> 
<html>
  <head>
    <title>Portfolio Page</title>
  </head>
  <body>
    <img src="../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>

1 Answer

Mohammed Al Qaraghuli
Mohammed Al Qaraghuli
3,170 Points

Hi ,

the tasked says the path is one level out which you did correctly by using '..', bus it says too it will be inside an img folder so you need to add /img so the code will look like that

<img src="../img/logo.png" alt="Site logo">