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
Cameron Searcy
134 PointsCode Challenge: Images and Lists — <ul> </ul> discrepencies.
Hi guys,
I've been working through the beginning module for how to build a website, but when I come across step 4/4 in the code challenge for the "Images and Lists" section I receive an error stating:
add three list elements to the unordered list
However, my code is as follows
<ul>
<li><a href="#">About</a></li>
<li><a href="#">Cupcakes</a></li>
<li><a href="#">Locations</a></li>
</ul>
Perhaps someone can clarify at which point I failed to do so?
Thanks very much
3 Answers
Mike Kohl
Courses Plus Student 6,793 PointsNot sure if this will help, have you tried adding the list elements WITHOUT the 'a href'.
<li>About</li>
If that does not help, please post a link to the challenge.
Benny Eichert
207 PointsI noticed this problem from the challenge before it won't accept </ul> at the end after messing around it accepted <ul/> But now I'm having a same problem with the challenge your on. When I get it wrong it says Add three list elements to the ORDERED LIST which is weird because above it says unordered. Very confusing.
Cameron Searcy
134 PointsMike Kohl I've added elements with / without the 'href' to the same result — I've since moved past this phase of direcitonals and things seem to run a bit more smoothly in the following demos and quizzes, however I just wanted to bring it up for the sake of consistency and clarity.
Riphard Nicolas
815 PointsRiphard Nicolas
815 PointsShould be <ul class="nav"> after add the elements