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

Confusing challenge please help

Select the list items inside the nav element and set their display to inline-block.

3 Answers

Hey Prince, the question is asking you to target every li (list item) element, that's a child of the nav (navigation) element in CSS.

So, you'll need to create a decedent selector that selects the li elements inside the nav element. Then apply display: inline-block; declaration to your CSS rule/block.

Hi Prince, Could you explain more detail?

nav li { display: inline-block; }