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

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