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

Charlie Morris
Charlie Morris
971 Points

What have I done wrong here?

What have I done wrong with the display property in the challenge step? Also why do all the challenges keep crashing can support please fix it?

Hi Charlie, your code didn't attach; could you manually add it, so I can see what went wrong?

Charlie Morris
Charlie Morris
971 Points

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

2 Answers

Hi Charlie,

The challenge is asking for you to select the list items - li - and change the display, not the unordered list.

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

nav li { display: inline-block; }

I don't know why your Challenges are crashing, I only ever have problems with that when my internet connection isn't stable.

Hope that helps!

Max Kutner
Max Kutner
7,595 Points

This worked! Please lemme know if doesn't make sense!

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

nav li { display: inline-block; }

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

Best, Max