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

it keeps telling me to add the list item for portfolio, even tho i did, and i made sure i closed it with</li>

It won't let me go to the next question, it says to make sure you add a portfolio list item, which i did just like the about and the contact...

Colton Fitzgerald
Colton Fitzgerald
15,815 Points

Can you post the code you used?

Logan R
Logan R
22,989 Points

Can you please post your code? It would make it slightly easier to help you :)

Try to use code mark-up. Add three ` before and after your code.

Hi, here's the code, now it worked, but only when i copy pasted the word "portfolio" from the challenge.

<ul>
        <li> Portfolio </li>
          <li> About </li>
          <li> Contact </li>
</ul>

it didn't work before, same thing but i typed portfolio my self...

Fixed your disappearing code. :)

7 Answers

Hi Nosson, sometimes capitalization matters in the challenges.

Kevin Frerichs
Kevin Frerichs
706 Points

I am running into the same problem in workspaces. The same bit of code.
<nav> <ul>Portfolio</ul> <ul>About</ul> <ul>Contact</ul> </nav> It says "be sure to ad a list item with the word portfolio in it."

Colton Fitzgerald
Colton Fitzgerald
15,815 Points

You're marking it up a little bit wrong :)

The <ul> Tag defines that you are making an unordered list while the <li> tag is for each item. This is what it should look like:

<nav>
<ul>
<li>Portfolio</li>
<li>About</li>
<li>Contact</li>
</ul>
</nav>

<ul> <li> Portfolio </li> <li> About </li> <li> Contact </li> </ul>

i posted the code but it appears to have changed it in the comments to regular text. anyway it worked thanks.

You'll want to make sure you're also using a code editor and not Microsoft Word, or TextEdit, etc. Glad it's working for you!

thanks dustin, I'm using workspaces, i also think your idea about Caps was it. Thanks again

thanks Ryan, don't know why it did that.

Kevin Frerichs
Kevin Frerichs
706 Points

Oh yes!..ha, thank you.