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 Build Navigation with Unordered Lists

Melissa Stark
Melissa Stark
3,955 Points

Nav list

My list is not all on one line. Rechecked my code and everything is the way the the lesson said to do it. Not sure where the problem is. I have refreshed multiple times as well.

here is my code for nav

nav { text-align: center; padding: 10px 0; margin: 20px 0 0; }

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

nave li { display: inline-block; }

Immo Struchholz
Immo Struchholz
10,515 Points

You misspelled nav at the end. Change "nave" to "nav" and try again.

Mark Bojesen
Mark Bojesen
12,873 Points

Hi Melissa,

Keep ind mind you have an extra 'e' on the last nav selector on the very last line of your code. Other then that is looks right to me.

2 Answers

Bob McCarty
PLUS
Bob McCarty
Courses Plus Student 16,618 Points

Melissa, The css contains a mis-spelling "nave li" needs to be "nav li".

Bob

Melissa Stark
Melissa Stark
3,955 Points

Thanks everyone! My other issue is that my images are all weird. They are not lined up the way it shows in the lesson. Not sure how to show you what I am talking about.

Immo Struchholz
Immo Struchholz
10,515 Points

You could take a screenshot, upload it to imgur.com(or another image hosting site), then link it here.