HTML HTML Basics Going Further with HTML Links and Paths Challenge

HTML Baics

I can not do the test.

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

1 Answer

Kieran Barker
Kieran Barker
12,508 Points

You just need to remove the / before #portfolio on this line!

<li><a href="#portfolio">Portfolio</a></li>