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 trialSIMON CHOCRON
Courses Plus Student 1,090 PointsI dont understand the meaning of ul.nav li {}
Can somebody explain me that step by step
5 Answers
Kevin Silvestre
13,561 PointsOk. "ul" is the unordered list. The ".nav "part is referring to the name of a class, and the last part "li" refers to the list items of that list. In summary, the statement ul.nav li is targeting all the list items inside the unordered list that has the .nav class applied.
Kevin Korte
28,149 PointsWe are selecting all list-items, inside of an unordered list with the class of nav.
SIMON CHOCRON
Courses Plus Student 1,090 PointsThank you so much!
SIMON CHOCRON
Courses Plus Student 1,090 PointsBy any chance someone know how to put comments next to each code line?
Colin Marshall
32,861 PointsIn CSS you put comments between these: /* Comment goes inside */ You can use multiple lines too.
SIMON CHOCRON
Courses Plus Student 1,090 Pointsand also in HTML?
Scott Paterson
26,869 Points<!-- comment in here --> for HTML Simon