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

Code challenge

Help me guys on how to create three list items with the words, “Portfolio”, “About”, and “Contact” in HTML

Hey Maxwell,

first, you have to open a "<ul>" tag where the "<li>Item</li>" tags are placed within. After you created your list items, you should close the the ul tag --> "</ul>"

It should look like this:

<ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul>

Hit me up, if you got any further questions!. Hope, this helped you.

1 Answer

Hey!

To complete this task you will need to use the following tags so see if you can work it out by yourself!

The first tag you will need to use is the ul tag which will start an unordered list.

<ul></ul>

The second and final tag you will need is the li tag which will create a list item.

<li></li>

The final hint I will give you is to embed your li tags inside of your ul tag! If you still need any help after you have attempted a few more times then reply back and I will further help you out!

-Luke