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 trialzackcoulter
1,495 PointsPixels, wat do?
Says "Needs top padding to be 15px." I thought the syntax starts from the top and then goes clockwise.
nav li {
font-weight:800;
padding:15px 10px;
display:inline-block;
}
1 Answer
Jason Anello
Courses Plus Student 94,610 PointsThe styles for task 4 should be applied to links inside the nav element.
zackcoulter
1,495 Pointszackcoulter
1,495 PointsMy nav element isn't right? The brackets are closing the main syntax, i don't understand what you mean.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsYou put the new styles in your
nav li
rule. that one is targeting the list items inside your nav.they wanted you to put those styles in a new rule that targets links inside the nav.