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 trialhelens
1,396 PointsWhat's the problem
In this challenge it says add 3 list items to an ordered list inside of your div. I added
<div>
<h2>Shopping List<h2>
<ol>
<li>Hi</li>
<li>Hey</li>
<li>Ho</li>
</ol>
It won't let me go on. What's the issue Here?
Logan R
22,989 PointsMaybe try adding a < /div >?
(It deleted the tag without spaces and I can't edit the post xD sorry lol)
4 Answers
Mark Wilkie
7,427 PointsMake sure all your block element tags are closed (div tags, h tags, p tags etc).
Daniel Creasey
Courses Plus Student 2,161 Pointswhats the link to the question? is it unordered?
Andreas Ioannou
2,999 Points<ul> not <ol>
Andreas Ioannou
2,999 Points<ul> not <ol>
Logan R
22,989 PointsLogan R
22,989 PointsYour code all seems right and I am not sure why it is giving you the error. I tried myself and gave me the green arrow. Maybe try adding a </div>?