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 trialAmritpan Kaur
2,118 PointsStep 3 of 8 in HTML Mastery Challenge
I can't seem to get past Step 3 of 8.
It asks to create an ordered list with 3 items inside the div. Below is what I have and in the Preview, it looks like I've coded the challenge. However, upon submission, I'm told Bummer! Add 3 list items to an ordered list inside your shopping list div. What's going on?
'''html <!DOCTYPE html> <html> <head> <title>HTML Mastery Challenge</title> </head> <body> <h1>HTML Mastery Challenge</h1>
<!-- Write your code below -->
<div>
<h2>Shopping List<h2>
<ol>
<li>Avocados</li>
<li>Oranges</li>
<li>Kale</li>
</ol>
<div>
</body> </html> '''
3 Answers
Adam Moore
21,956 PointsYour closing div doesn't have the closing "/" mark, and neither does the "h2" tag.
Kevin Kenger
32,834 PointsHey Amritpan,
It looks like you're not closing your <h2>
tag. My guess is that's where you're experiencing your problem.
Amritpan Kaur
2,118 PointsThank you Adam and Kevin for replying so quickly! This fixed my issue.