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 trial
Alvin Liang
12,246 Pointsstage 6 challenge 1 of 4
says "bummer! be sure to set the top margin to 0" is this wrong?
```nav { list-style: none; margin: 0 10px; }
jeremy luna
459 Pointsyou suck
jeremy luna
459 Pointsyou suck
jeremy luna
459 Pointsyou suck
jeremy luna
459 Pointsyou suck
jeremy luna
459 Pointsyou suck
David Peraza
1,929 Points@ jeremy luna, dude chill out thats why we are here to learn you moron.
9 Answers
Thomas Coler
8,068 PointsI had to separate the commands into 4 steps to pass the challenge using margin-top, margin-bottom, margin-right, etc.
Paul Mather
3,313 PointsIt may be asking you to set ONLY the top margin to 0, in which case you'd need margin-top: 0; instead of setting no margin to the top AND bottom. I've not done this track, do cannot be 100% sure - give it a try.
Alvin Liang
12,246 Pointsit says to remove the bottom and top and have the left and right at 10px
Paul Mather
3,313 PointsYou didn't add a period (.) or hash (#) to your nav which defines that you want to target a class or id named nav.
Alvin Liang
12,246 PointsSelect 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.
Paul Mather
3,313 PointsYou need to do nav ul { styles here } if you want to remove the margin of the unordered list within the nav tag.
Alvin Liang
12,246 Pointsthe UL!!!!! THANKS!
Hilda Nacua
2,019 Pointsnav ul{ list-style: none; margin-top: 0px; margin-left: 10px; margin-right: 10px; margin-bottom: 0px; }
Patrick Colgan
2,847 PointsThis worked for me nav ul { list-style: none; margin: 0 10px 0 10px; }
jeremy luna
459 Pointsjeremy luna
459 Pointsyou suck