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

Too many list items(bullet points)

I am on a challenge where you make a unordered list. The problem I have is that when I run my code 6 bullet points come up, not just the three I programmed in.

my code : CODEPEN

Sorry everybody. Can Somebody tell me how to put in code to the forum properly.

Here is a link on how to display code in the forum.

4 Answers

The problem with your code is that you are not ending your unordered list elements. Every start tag must have an end tag to show the end of each list item.

Here is a link to the revised code: http://pastebin.com/bMht792j

Notice that at the end of every list item I added the end tag: < / l i > (without the spaces)

You are the best it finally worked!

Here is a link on how to display code in the forum.

I indented by a tab but it still doesn't print all of the code.

Try another variation, or CodePen.

Did it.

Use pastebin to create your source code and submit the link to your pastebin file.

Link to pastebin: http://www.pastebin.com

Thanks a lot. This made it much easier.

Michael Sukkarieh - Please don't make a pastebin.

It will be much more helpful if instead you create a "working" demo using a code playground, something like codepen, jsfiddle or dabblet.

Alright I'll remember that next time I post some source code, thanks.

Thanks. Now please can somebody look at it in Codepen.

I'm not sure if the code you typed was completely printed because I cannot see any tags. Are you trying to make an unordered list of 4? Which would look like this:

-About -Cupcakes and Price -Locations -Contact Us

Sorry it wasn't all printed. And I am making a list like that, but again it gives me one extra bullet point for the one I have programmed in.