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 Basics Getting Started with HTML Lists and Links Challenge

Convert the text inside the <body> tags into an unordered list.

for example cake pies candy heres how i put it

<ul> Cakes Pies Candy </ul> what am i doing wrong?

1 Answer

Antonio De Rose
Antonio De Rose
20,884 Points

first please use markdown sheet when you paste code, so that everyone can read your code with ease.

you have only told the browser, that you are going to have a unordered list, however
your list is not surrounded with list, to do so, you have to wrap your each list, with
<li> tag
<ul> 
<li>111</li>
<li>112</li>
<li>113</li>
<ul>

similarly, if it is a ordered list, not only you have to tell the browser, you are going to start a ordered list, yet you will have to wrap it for east of entries in the list.

<ol> 
<li>111</li>
<li>112</li>
<li>113</li>
<ol>