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 trialAhmed Ahmed
1,377 PointsAny help with this problem
I put the details correctly according to the training but I still getting failed code.
2 Answers
Ahmed Ahmed
1,377 PointsThank you for the answer, I managed to solve the problem.
Stef Serafin
967 PointsWithout seeing your code it's hard for any of us to help you. However a typical horizontal list of links would be as so. Make sure you have all your semi colons, curly brackets closed and markup is correct as well.
<ul class="nav">
<li><a href="#">Nave One</a></li>
<li><a href="#">Nave Two</a></li>
<li><a href="#">Nave Three</a></li>
<li><a href="#">Nave Four</a></li>
</ul><!--// nav-->
Stef Serafin
967 Pointsul.nav{
position:relative;
}
ul.nav ul{}
ul.nav li{
float:left;
display:inline;
}
ul.nav li a{
display: block;
padding:6px 10px;
text-align: center;
text-decoration: none;
color:#00aeff;
font-size:12px;
background:#f7f7f7;
margin-left: 2px;
}
ul.nav li:first-child{margin-left:0;}
Jeff Busch
19,287 PointsJeff Busch
19,287 PointsHi Amed,
Can we see your code?