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 trialDaniel Hunter
7,349 PointsSelecting unordered lists
Came across this question: "Select the unordered list nested inside the nav element. Remove the margins on the top and bottom. Set the margins on the left and right to 10px."
Entered this code:
nav a.selected { margin: 0 10px; }
Not sure what I did wrong here. Thanks.
2 Answers
Ricky Walker
12,863 PointsIn order to select unordered lists inside of the nested nav, you'd write this:
nav ul {
}
Hope this helps!
Daniel Hunter
7,349 PointsThanks!