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 trialDaniel Holmes
2,765 Pointswhat is the problem
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Nick Pettit</title> </head> <body> <header> <a href="index.html"> <h1>Nick Pettit</h1> <h2>Designer</h2> </a> <nav> <ul> <li>"Portfolio"</li> <li> "About"</li> <li> "Contact"</li></ul> </nav> </header> <section></section> <footer>
8 Answers
mrhummel
Courses Plus Student 1,765 PointsHTML doesn't need quotes around text! Just declare the li elements like this:
<li>Portfolio</li>
Daniel Holmes
2,765 Pointsit does not recognize the portfolio list
Karolin Rafalski
11,368 Pointsahh, I see- to pass this challenge do not fill in any text between your li tags
Daniel Holmes
2,765 Pointsit said to make 3
Daniel Holmes
2,765 Pointsthen why write it that way
I thought I had to be specific with writing code
Karolin Rafalski
11,368 Points<nav>
<ul>
<li></li>
<li></li>
<li></li>
</ul>
</nav>
Unsubscribed User
4,479 PointsHi Daniel,
Can you give use a little more information on what you would like to know?
I don't know if this answers your question but I will address what I can see and hopefully you can let me know if this was part of your question.
An important practise is that when you open a tag, you must then close it. Another important understanding is the anatomy of an HTML document - the important parts of an HTML document.
To start an HTML page, you open an HTML tag then close it with a closing tag. Each html document has a HEAD and a BODY. The HEAD sits at the top and contains things like the TITLE, the BODY sits underneath the HEAD and contains the content of your page.
Have a look at the code below and compare this basic structure to your code and see if you can see what's out of place. (I don't know if you have been confused by a HEAD tag and a HEADER tag?)
<!doctype html> <!-- doctype -->
<html> <!-- opening HTML tag -->
<head> <!-- opening HEAD tag -->
<meta charset="utf-8">
<title>Nick Pettit</title>
</head> <!-- closing HEAD tag -->
<body> <!-- opening BODY tag -->
<header>
<a href="index.html">
<h1>Nick Pettit</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li>"Portfolio"</li>
<li> "About"</li>
<li> "Contact"</li>
</ul>
</nav>
</header>
<section></section>
<footer> </footer>
</body> <!-- closing BODY tag -->
</html> <!-- closing HTML tag -->
Unsubscribed User
4,479 PointsYou've had a few answers since I wrote something so sorry if I waffled on a bit.
Karolin Rafalski
11,368 PointsKarolin Rafalski
11,368 PointsCould you elaborate on the issue you are having? All I see is that your ul and footer tags are not closed