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?

<!DOCTYPE html> 
    <title>Portfolio Page</title>
    <img src="../logo.png" alt="Site logo">
      <li><a href="">Home</a></li>
      <li><a href="">Portfolio</a></li>                
    <h1 id="portfolio">My Portfolio</h1>

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">