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

Add a second level heading inside that div containing the text "Shopping List". No spaces around the text, please.

I did <div> <h2> ShoppingList </h2> </div> ... And it is not working. What do I do.

11 Answers

I just did it.. it works now.. thanks

<h2>Shopping List</h2>

not shopping list alone i included my div tags and my h2 tags

Add a space in-between Shopping and List but close the h2 tag right after. Can you show your code if you're still having trouble?

I actually put wrapped Shopping List in h2 tags but they did not show in the forum. Did you close the tag?

Add three items to an ordered list inside of your div.

task 3.. Why is this not working.

<div> <ol> <li> red </li> <li> blue</li> <li> purple</li> </ol>

</div>

Hey Richie, try to apply in this order (for an ordered list):

       <ol>
        <li>First item.</li>
        <li>Second item.</li>
        <li>Third item.</li>
       </ol>

Should work perfectly.

you make a ul tag and then add 3 li tags, each with an item of text, then close the respective li tags and ul tags

<div> <ol> <li> green </li> <li> blue </li> <li> blue </li> </ol> </div>

<ul> <li> green</li> <li>blue</li> <li>blue</li> </ul>

<li>green</li>
<li>blue</li>
<li>blue</li>
</ul>

The forum uses markdown to correctly format code, check out this thread on how to type code in the forum for some examples.

Ul creates the unordered list, then li creates the individual List Item. Always make sure you close your respective tags. Hope that helps, let me know if you have any more problems.