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 trialIsha Srivastava
5,002 PointsNot able to pass the code challenge!!
The code challenge was : Display the links in the nav as inline block elements. so i am doing this:
nav {
display: inline-block;
}
I dont know where i am wrong,because its keeps saying "Bummer! Check the display property in your CSS." , please help!!
1 Answer
Erik McClintock
45,783 PointsIsha,
The challenge wants you to target the links (i.e. the anchors, "a") inside the nav, and display those as inline-block. Currently, you're trying to target and display the nav itself as inline-block.
You're close! Make that correction and you'll be movin' on :)
Erik
Isha Srivastava
5,002 PointsIsha Srivastava
5,002 Pointsohh!! thanks, its done.