HTML HTML Basics Going Further with HTML Links and Paths Challenge

links and paths

set the " portifolio"link to navigate to the section of the page with the id portifolio

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

2 Answers

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 80,934 Points

Almost there!

You just need to fix the typo in your anchor tag so it matches with the ID element! :-)