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

HTML How to Make a Website Styling Web Pages and Navigation Create a Horizontal List of Links

Mikolaj Chyczewski
Mikolaj Chyczewski
1,086 Points

I have padding: 15px 10px; and its telling me "Bummer! the top padding needs to be set to 15px. 99% sure i have it right

under nav li it tells me to set the padding of the top and bottom to 15px abd right and left to 10px. it says i did it wrong

Jason Anders
Jason Anders
Treehouse Moderator 145,860 Points

You'll need to post your code for us to be able to help you troubleshoot. :)

You can reference the Markdown Cheatsheet to see how.

1 Answer

Tim Larson
seal-mask
.a{fill-rule:evenodd;}techdegree
Tim Larson
Full Stack JavaScript Techdegree Student 13,696 Points

Hi Mikolaj!

Select the links inside the nav element and set their font weight to 800. Then, set padding on the top and bottom to 15 pixels. Set the padding on the left and right to 10 pixels.

So what you want to do here is select nav a, and change its font weight and padding to the instructed values.

nav a {
  font-weight: 800;
  padding: 15px 10px;
}

Hopefully this works for you!

Good luck.