Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Creating HTML Content Create Navigation with Lists

what's wrong with this?

Isn't the portfolio already linked?

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Bryan Baldasaro | Designer</title>
    <link rel="stylesheet" href="css/normalize.css">
      <link rel="stylesheet" href="css/main.css">
  </head>
  <body>
    <header>
      <a href="index.html">/a> <h1>Bryan Baldasaro</h1>
        <h2>Designer</h2>

      <nav>
        <ul>
          <li><a href="index.html">Portfolio</a></li>
            <li><a href="about.html">About</a></li>
            <li><a href="contact.html">Contact</a></li>
      </ul>
    </nav>
  </header>
    <div id="wrapper">

        <section>
          <ul>
            <li>

            </li>
            <li>

            </li>
            <li>

            </li>
            <li>

            </li>
            <li>

            </li>
          </ul>
        </section>
        <footer>
        <a href="https://twitter.com/bryanBbad"><img src= "img/twitter-wrap.png" alt="Twitter Logo"></a>
        <a href="https://www.facebook.com/bryan.baldasaro"><img src= "facebook-wrap.png" alt="Facebook Logo"></a>
        <p>&copy; 2017 Bryan Baldasaro.</p>
        </footer>
      </div>
    </body>
</html>

3 Answers

Feisty Mullah
Feisty Mullah
25,849 Points

Inside your header <a href="index.html">/a> <h1>Bryan Baldasaro</h1> <h2>Designer</h2>

its better to put your <h1> underneath href like you have <h2> and closing </a> should be under </h2> not before starting <h1> & <h2>.

your <li><a href="index.html">Portfolio</a></li> should be selected.

<li><a href="index.html" class="selected">Portfolio</a></li>

Looks like you just missed a '<' in the closing anchor tag on the following line...

<a href="index.html">/a> <h1>Bryan Baldasaro</h1>

From what I can see, everything else looks correct.

Austin Whipple
Austin Whipple
29,725 Points

Looks like this line is the only error you have:

<a href="index.html">/a> <h1>Bryan Baldasaro</h1>

That broken closing anchor tag could be causing the challenge to fail even though the specific line you're editing (the portfolio link) works.