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 trialMamady Doumbouya
680 PointsNew 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
12,466 PointsThis 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>
Erik McClintock
45,783 PointsMamady,
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
680 PointsErik; Thanks for your help , I understand!
Mamady Doumbouya
680 PointsMamady Doumbouya
680 PointsThanks Jacob; I see I didn't understand the question. THANKS