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 trialaira tan
965 Pointsit says put the top and bottom padding to 15 px and left and right to 10 px - padding: 15px 10px; it says its wrong.
i wrote
padding: 15px 10px;
it says it's wrong..what is wrong?
2 Answers
Billy Bellchambers
21,689 PointsHi Aira,
The final question wants you to set the font-weight to 800 as well as make the padding changes you have mentioned.
If you haven't set the font-weight this might cause it to fail or using an incorrect selector might cause this also.
The correct code you need to add to pass all challenge steps is.
nav ul {
margin: 0 10px;
list-style: none;
padding: 0;
}
nav li {
display: inline-block;
}
nav a {
font-weight: 800;
padding: 15px 10px;
}
Hope that helps
aira tan
965 PointsI figured...and I didn't know I put it under a wrong selector. but Thanks Billy..:)