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 Blonér
4,772 PointsTemoving the margin on top of the li inside of the navigation and adding 10px, can't get methods from videos to work.
Here is my current method
nav li { margin: 0 10px 0 10px; }
According to the videos, this will target top, rigth, bottom, left.
Would be jolly glad for any aid!
1 Answer
Tom Bedford
15,645 PointsHi Peter
The challenge asks:
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.
The "unordered list", not the "list items" (li
is for list items).
Good luck!
Simon Blonér
4,772 PointsSimon Blonér
4,772 PointsThx for the input, question solved with the info :)