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 trialpaul kinsley
453 Pointsnav ul
I have the ul nested in the nav but it keeps giving me a error
7 Answers
James Barnett
39,199 PointsA list (i.e. <ul>
or <ol>
) can only contain have a direct child of an li
element
So your nested <ol>
needs to be nested inside a <li>
.
Like this:
<ul>
<li>
<ol>
<li></li>
</ol>
</li>
<li></li>
</ul>
Nick Pettit
Treehouse TeacherHi paul kinsley,
Can you paste your code into a comment here? That will help us figure out what's wrong. :)
Marcus H
4,267 PointsI'm having the same problem I think
'''<nav>
<ul>
<li>Portfolio</li>
<li>About</li>
<li>Contact</li>
</ul>
</nav>'''
error code is : Bummer! null
Marcus H
4,267 PointsI'm having the same problem I think
'''<nav>
<ul>
<li>Portfolio</li>
<li>About</li>
<li>Contact</li>
</ul>
</nav>'''
error code is : Bummer! null
paul kinsley
453 Points<a href="index.html"> <nav> <ul> <li>Portfolio</li> <li>About</li> <li>Contact</li> </ul> </nav> <h1>Nick Pettit</h1> <h2>Designer</h2> </a>
Marcus H
4,267 PointsI'm having the same problem I think.
<nav>
<ul>
<li>Portfolio</li>
<li>About</li>
<li>Contact</li>
</ul>
</nav>
error code is : Bummer! null
edit: sorry about all the replies above, got the code wrong and couldn't delete them.
paul kinsley
453 PointsYes its the same problem Marcus is having right there
Marcus H
4,267 PointsI made another thread about the same thing. I got 2 replies from other users and they both seem to think it's a bug (it is a brand new course after all). So we just got wait till one of the higher ups notices either one of our threads and fixes it.
paul kinsley
453 PointsYeah thats what I figured. Thanks Marcus for the help
Marcus H
4,267 PointsI gave up doing the project last night but just realised you can just go to the next video so I'll come back to that challenge when it's been fixed (I need them points).
Nick Pettit
Treehouse TeacherHi paul kinsley and Marcus H
That's really strange you're getting an error. I just pasted in this code into that Code Challenge task, and it passed.
I'll notify our developers so we can look into it. I apologize for the frustration and appreciate you asking for help on the forum. I'll update this post with new information as it becomes available.
Nick Pettit
Treehouse TeacherHi everyone,
It looks like we were experiencing some issues with our code challenges this weekend. If you try it again it should work now. If for some reason it doesn't please let us know and we'll look into it further. We're really sorry for this and appreciate you all being patient with us.