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

its says select the nav links and set the top and bottom padding to 15px and the left and right padding to 10px.

Shouldn't it look something like this:

padding: 15px 10px;

or like this

padding: 15px 10px 15px 10px;

Neither or these work.

nav a {
padding: 15px 10px;

You have to select the "a". To me it seems that you only used nav{} Most of my errors also happen, because I read too fast.

1 Answer

nav ul {
  margin: 0 10px;
  list-style: none;
  padding: 0;

nav ul li {
  display: inline-block;

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

Doh! I choice ul li. OK sorry about that guys. But thanks for the feedback.