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 trialGiorgio Aivazopoulos
1,848 PointsHi! why if in the html file I indicate class="skills" in the CSS file I need to write .skills li?
so I need to indicate also that the CSS code refers to the list item and not just to the class "skills"?
I tried to remove li from the css but it does no work well.
thanks!
1 Answer
Giorgio Aivazopoulos
1,848 PointsThank you Gavin!
Gavin Eyquem
Front End Web Development Techdegree Student 21,339 PointsGavin Eyquem
Front End Web Development Techdegree Student 21,339 PointsIf you are trying to style the list item in the .skills class then type .skills li {}
To change the li, you need to tell the system to target the li of the class .skills
Hope that helps.