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 trialPitrov Secondary
5,121 Pointswhy did the numbers of the ordered list go away?
When I set the things on 'ol li' the numbers weren't there anymore!
2 Answers
Valerie Burton
2,562 PointsHey there,
Is the background color of your page white as well, like in Guil's video? The CSS property color: white;
sets the font color to white, including the numbers. So it will appear as if your numbers disappeared, but really they are now just the same color as the background.
You can try doing something like color: blue;
instead to see the difference.
Brendon Butler
4,254 PointsI would assume that your CSS is broken. Validate it here.
Or you have added list-style-type: none;
to your ordered list.
Pitrov Secondary
5,121 PointsIt says 'No Error Found', and here is my code about the ol: ol li { background-color: tomato; color: white; margin-bottom: 5px; }