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

help on Challenge task 2 of 3 of web design

help on Challenge task 2 of 3 of web design.im bambuzeld lol, i have ran through my coding but cant seem to spot were i have gone wrong Bummer! Be sure you add a list item with the word "Portfolio" in it.

6 Answers

Hi James.

Remember that these tasks are linked and generally to do in a certain order.

Let us go through the steps of how to make a list.

We have our nav and ul tags. They are the navigstion and unordered list. We must now actually make the list. So let us make the list containing those 3 words.

Hopefully that helps you out without actually giving you the answer.

If you need more help try rewatching the video where the list is coded.

Let us know how it goes.

Christina Giannouli
Christina Giannouli
18,202 Points

Hello James,

task 2 of three says: "Inside the navigation element, create three list items with the words, “Portfolio”, “About”, and “Contact”. Don’t add links yet."

Previously, on task 1 you wrote some code that looks like this: <nav><ul></ul></nav>. So, what you're asked to do now is to create three list items: <li>some text</li> and put it inside the <nav></nav>.

But list items go always inside their parent list element which in this case is the <ul></ul>. So, you must place the list items inside the unordered list element, which is inside the nav element.

thank you for the advice on tracking down my error.

Well what is the point in being told what the answer is?

You use Treehouse to learn, not to be told the answers ;-)

Good Luck on your track.

thank you,i agree,i would rather be pointed in the right direction than actually just being giving the answer.fixed it done on to to next challange lol.thanks hugely agin guys.

Always happy to help.