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
Bill Starnes
516 PointsHelp with a challenge question in CSS
Challenge question help. Not sure what I am doing wrong, but I am supposed to code for the following; Select the unordered list inside the nav element. Remove the margins on the top and bottom. Set the the margins on the left & right to 10px. I add the following code:
nav ul {
list-style: none
margin: 0 10px;
}
Receive the error to be sure to set the top margin to 0. Any help would be greatly appreciated
EDIT: Press EDIT on your post and see what i did to achieve the highlights for the code, remember that you need to have an space between lines so it works . See the code above and you can also check this and heres another one , and fast and easy one Posting code etc.. instruction -Aurelian
1 Answer
Ken Alger
Treehouse TeacherBill;
If that was your exact code, you forgot a semi-colon after your list-style declaration.
For future reference, please see this post for instructions on posting code in the forum.
Welcome to Treehouse!
Happy coding,
Ken
Bill Starnes
516 PointsBill Starnes
516 PointsThanks Ken. That did the trick. I can't believe that I missed such a small detail. Thanks again.
Ken Alger
Treehouse TeacherKen Alger
Treehouse TeacherBill;
It is those pesky small details that are the bane of our existence, right!?!
Happy coding,
Ken