Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Mamady Doumbouya
Mamady Doumbouya
680 Points

New and totally confused!

Totally confused! just completed "Definition list" segment and was presented with the following question on the self test: "Add the following list items to the ordered list: "Stop", "Drop", and "Roll"." I had no prior instruction or definition on "Stop", "Drop", and "Roll". Unable to continue the track. Can anyone clarify?

2 Answers

Jacob Miller
Jacob Miller
12,466 Points

This just means add three <li></li> tags between your opening and closing ordered list tags, with the words Stop, Drop, and Roll in each list item. Stop, Drop, and Roll are nothing special, just words to add to your list. See the code below:

<ol>
    <li>Stop</li>
    <li>Drop</li>
    <li>Roll</li>
</ol>
Mamady Doumbouya
Mamady Doumbouya
680 Points

Thanks Jacob; I see I didn't understand the question. THANKS

Erik McClintock
Erik McClintock
45,783 Points

Mamady,

The best way to figure this kind of situation out is to go back and comb through the video to see if there was something that you missed, though in this case, it seems to just be confusion regarding the definition (no pun intended) of those items.

"Stop", "Drop", and "Roll" are simply strings that they want you to put into an ordered list. Think of it like a grocery list that you'd make, or a list of things that you need to do (in this case, things you would need to do to put yourself out if you were on fire).

If you recall from your lessons, an ordered list looks as follows:

<ol></ol>

Inside of the opening and closing ordered list tags, you place the items for your list inside their list item tags:

<ol>
<li></li>
<li></li>
<li></li>
</ol>

Once you've gotten your markup in place, you can insert the required strings, which in this case, are "Stop", "Drop", and "Roll":

<ol>
<li>Stop</li>
<li>Drop</li>
<li>Roll</li>
</ol>

And that's it! They just want you to populate the list items in your ordered list with those three words (or "strings"). If they hadn't specified what they wanted there, you could write literally anything that you wanted. If you wanted to make a simple grocery list of things you needed to eat a bowl of cereal, you could do the following:

<ol>
<li>Cereal</li>
<li>Milk</li>
<li>Bowl</li>
<li>Spoon</li>
</ol>

Hope this helps!

Erik

Mamady Doumbouya
Mamady Doumbouya
680 Points

Erik; Thanks for your help , I understand!