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 trialJohn Ferguson
2,001 Pointsdisplay to inline -block?...I dont get it..
whats wrong with my code nav li { margin: 0 10px 0 10px; padding: 0; list-style: none; display: inline-block;}
5 Answers
Dustin Matlock
33,856 PointsHi, John. The code challenge is asking to select the list items inside the nav element. You can do that with nav li
. Make sure you still have the first code block with nav ul
.
nav ul {
list-style: none;
margin: 0 10px;
padding: 0;
}
nav li {
display: inline-block;
}
idan ben yair
10,288 PointsHi John,
Is it possible that you could post the link to the challenge. Your code looks fine in a first look but maybe if I take a look at the challenge I will be able to make sense of it.
Thanks.
Tommy Gebru
30,164 PointsHey Idan, how can a treehouse student become a moderator.?
John Ferguson
2,001 Pointsthanks guys
idan ben yair
10,288 PointsHi teame actually treehouse usually contacts you if you are an active student in the forums and if you have over 5000 points. also you can contact Faye at: faye@teamtreehouse.com she will be able to assist you and guide you if you would like to become a moderator!
Good luck my friend :)
Tommy Gebru
30,164 PointsCheers, thanks for the support Idan
idan ben yair
10,288 PointsAnytime!