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 trialmo sleiman
2,743 PointsConvert the text inside the <body> tags into an unordered list.
why is it telling me to ad <ul></ul> when thats what i did
<!DOCTYPE html>
<html>
<head>
<title>Lists and Links</title>
</head>
<body>
<ul> Cakes </ul>
<ul> Pies </ul>
<ul> Candy </ul>
</body>
</html>
3 Answers
Balazs Peak
46,160 PointsThe <ul> tag is for the list element itself, it means unordered list. You have to use the <li> tag for the elements of the list, which means list item.
<ul>
<li>First item of the list</li>
<li>Second item of the list</li>
</ul>
Steven Parker
231,269 PointsThe message might be confusing, but when constructing a list, only one pair of list (ul) tags is used to enclose the entire list. The individual items in the list are then enclosed in list item (li) tags.
mo sleiman
2,743 Pointsthx Steven Parker and Balazs pulki