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 Use the Navigation Element

I am not sure why the ending half of my code is highlighted red and the elements are not finishing properly.

My code is messed up somewhere along the way and after inspection I can not find the mistake. These two things are the noticeable problems I am having.

<!DOCTYPE html> <html> <head> <meta charset="uft-8"> <title>Brandon Plazio | Designer</title> </head> <body> <header> <a href="index.html> <h1>Brandon Plazio</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html"></a>Portfolio</a><li> <li>About<li> <li>Contact</li> </ul> </nav> </header> <section> <p>gallery will go here</p> </section> <footer> <p>© 2014 Brandon Plazio.</p> </footer> </body> </html>

3 Answers

Hi Brandon,

I noticed there's no " after index.html in the following line of code:

<header>
  <a href="index.html>

Should be:

<header>
  <a href="index.html">

Also, there are a couple of opening tags where there should be closing tags, and as Kelly mentioned, an extra anchor closing tag in this block of code:

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

Should be:

<li><a href="index.html">Portfolio</a></li>
      <li>About</li>
Hugo Paz
Hugo Paz
15,622 Points

Hi Brandon,

Without you posting your code here, is impossoble for us to help.

<!DOCTYPE html> <html> <head> <meta charset="uft-8"> <title>Brandon Plazio | Designer</title> </head> <body> <header> <a href="index.html> <h1>Brandon Plazio</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html"></a>Portfolio</a><li> <li>About<li> <li>Contact</li> </ul> </nav> </header> <section> <p>gallery will go here</p> </section> <footer> <p>© 2014 Brandon Plazio.</p> </footer> </body> </html>

Kelly von Borstel
Kelly von Borstel
28,880 Points

You have an extra anchor closing tag before the word Portfolio. It should look like this instead:

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