Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Inside the navigation element, create three list items with the words, “Portfolio”, “About”, and “Contact”. Don’t add li

Im having trouble with this. Ive tried to do <li>Portfolio</li> <li>about</li> <li>contact</li> but it wouldn't work then i tried <li><a href="index.html">portfolio</a></li> <li><a href="about.html">about</a></li> <li><a href="contact.html">contact</a></li> and it still wouldn't work what am i doing wrong?

kush sharma
kush sharma
Courses Plus Student 2,360 Points

Hi Yaniv, You don't have to enclose list-items with anchor tags just yet. You just have to use li tags only at this question.. Cheers..:)..

Thank you!

4 Answers

Mike F.
Mike F.
11,994 Points

Hi Ronen, make sure that "About", "Portfolio" and "Contact" are pointing to the right files. For example, in the instructions, Portfolio points to "index.html". I got tripped up on this as well.

Thank you!

Mike F.
Mike F.
11,994 Points

Did the question change? It seems that way. Kush's answer is correct. Pardon me Yaniv, I thought Ronen had asked the question. Sorry for the confusion and I hope you found the correct answer.

kush sharma
PLUS
kush sharma
Courses Plus Student 2,360 Points

Yeah Michael it was Ronen at first....even i edited the name in my answer later....

Cheers..:)...