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 trialVinoth Babu
2,346 PointsRemove the list item markers in the ul.
What's wrong with the below code, it keeps on saying me error.
li { list-style-type: none; }
5 Answers
Patrick Gerrits
14,614 PointsThe title or your forum post is giving the answer. It is not the List Item that show button but the container holding it. So in css use the .... selector.
Patrick Gerrits
14,614 PointsBecause you only need to select the UL. not the LI.
ul list-style-type: none; }
is enough.
Vinoth Babu
2,346 Pointsul, li { ist-style-type: none; }
The above did work with a "Comma" when added, i am curious what's wrong with the code of mine and also why does the below too not work.
ul li { ist-style-type: none; }
Clinton Hopgood
7,825 PointsNeeds to be applied to the ul, so when you comma separate it does apply to ul but also to the li which isn't required.
ilyass mougar
Courses Plus Student 2,858 Pointsul {list-style-type: none; }