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 HTML Lists HTML Lists

I'm having problems nesting list items in html

I'm nesting the list items wrong.

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>HTML Lists Challenge</title>
  </head>
  <body>

    <h1>HTML Lists Challenge</h1>

    <!-- Write your code below -->


  </body>
</html>

Hopefully you got it. If not, please expound on your code, or what you have tried so far. Exactly what part is holding you up? It looks like Joey Ward has already given the basic outline.

2 Answers

Joey Ward
PLUS
Joey Ward
Courses Plus Student 24,778 Points

Hi Matika, you can create either an unordered list <ul></ul> or an ordered list <ol></ol> The challenge linked to this question involves an ordered list. Please see the sample below

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

Were you able to figure it out Matika?