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
Marcus Kendziora
3,685 PointsHTML code for creating ol and ul lists!
I'm completely stuck on the every last "Challenge Task" question in the "HTML List" category.
The question is:
"Add the items "Square" and "Circle" to the list nested under "Shapes"."
I have tried every "List" code possible and I can't move beyond this point. Is this a trick question? I'm not comprehending the question? Please help!
My code:
<ul>
<li>Shapes
<ul>
<li>Square</li>
<li>Circle
</ul>
</li>
<li>Colors</li>
</ul>
6 Answers
Ibrahim Rodríguez
Courses Plus Student 2,495 PointsHey Marcus, I think that you need to nest a new list in the shapes list.
Just make sure to create a new unordered/ordered list before closing the <li> tag in 'Shapes'.
James Barnett
39,199 PointsHey Ibrahim Rodríguez - I removed your code because we like to stick to hints, like the great one you gave.
And we try to stay away from giving away the answers, because we want students to learn how to solve their own issues not just get past a code challenge.
P.S. - I up voted the edited answer because I think it's an extremely useful hint.
James Barnett
39,199 PointsYou forgot to close the <li> for circle.
Chase Lee
29,275 PointsCould you post your code?
Marcus Kendziora
3,685 Points[[ed. note] - Code moved to original post
Edoardo Parra
Courses Plus Student 946 Points<ol>
<li>example</li>
<li>example2</li>
</ol>
rewatch the videos
Michael Packard
4,842 Pointsswap the </ul> and </li>
James Barnett
39,199 PointsJames Barnett
39,199 Points-