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.

CSS CSS Foundations Text, Fonts, and Lists List Styles

Josh Ryan
Josh Ryan
4,295 Points

I am typing ul li{ list-style-type: none;}. Preview shows markers removed. Getting bummer message.

Is there a glitch in this code challenge? I am being told to check my list-style-type declaration, but I have it set to none and the preview shows the markers as having been removed (the bullets disappear). Am I misunderstanding the objective?

2 Answers

Stone Preston
Stone Preston
42,016 Points

try selecting just the ul element instead of li that are children of ul elements

ul { list-style-type: none;}

while changing the list-style-type of the list item might work, the name seems to imply that its meant to be used on lists, not list items. so maybe thats why the challenge wasnt accepting your answer