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 trialMary Healy
7,818 PointsMy html code not working
<!DOCTYPE html> <html> <head> <title>HTML Lists Challenge</title> </head> <body>
<h1>HTML Lists Challenge</h1>
<ul>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ul>
</body> </html>
<!DOCTYPE html>
<html>
<head>
<title>HTML Lists Challenge</title>
</head>
<body>
<h1>HTML Lists Challenge</h1>
<ul>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ul>
</body>
</html>
1 Answer
Jon Myzzle
6,279 PointsHello Mary,
This particular challenge wants you to use ordered lists and unordered lists to solve it. Remember, you can notate an ordered list in HTML using the <ol></ol>
and adding <li></li>
as the list items nested inside of it. See below:
<ol>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>
Later in the challenge it asks you to nest a list inside of another one. Doing so looks like the following:
<ul> Unordered List
<li>
<ol> Ordered List nested inside of it
<li>List item</li>
</ol>
</li>
</ul>
I hope this helps!
Cheers, happy coding!!
Michael Poley
8,772 PointsMichael Poley
8,772 PointsI think that in the challenge it asks for you to use Unordered Lists <ul> and Ordered Lists <ol> and that you have to differentiate between them.