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 trialAndrew Fischer
Courses Plus Student 2,009 Pointsunordered list
In the I am typing the unordered list tag as it was presented in the video tutorial. What am I doing wrong/missing. Does entering <ul></ul> not create an empty unordered list? Cheers!
12 Answers
Chase Lee
29,275 PointsYou forgot to close your img
tag. And your missing the quotes around img.cupcake.jpg
.
Liz Karaffa
17,576 PointsHi Andrew,
From what I can see above in your comments you're using the right tags. It should look like what I have below.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Smells Like Bakin' Cupcake Company</title>
</head>
<body>
<img src="img/cupcake.jpg">
<ul>
</ul>
</body>
</html>
Chase Lee
29,275 PointsCould you give use the code that your using.
Liz Karaffa
17,576 PointsCan you include what you've typed. Click on the Markdown Cheatsheet below to get help on how to include it in a post.
Chase Lee
29,275 PointsOr I can reformat it for you.
Andrew Fischer
Courses Plus Student 2,009 PointsIn the challenge I typed:
<ul></ul>
as well as <ul><li></li></ul>
both were marked wrong
Thanks for the quick replies!
Chase Lee
29,275 PointsMake sure that your code goes after the img
tag.
Andrew Fischer
Courses Plus Student 2,009 PointsI entered the code under the img tag
Chase Lee
29,275 PointsCould you show everything? Thanks.
Andrew Fischer
Courses Plus Student 2,009 PointsThe task says to "Add an empty unordered list below the image" I entered: ```<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Smells Like Bakin' Cupcake Company</title> </head>
<body> <img src=img/cupcake.jpg <ul></ul>
</body> </html>```
Andrew Fischer
Courses Plus Student 2,009 Pointssorry
<img src=img/cupcake.jpg
<ul></ul>
</body>```
Chase Lee
29,275 PointsYou forgot to close your img
tag. and your missing the quotes around img.cupcake.jpg
.
Liz Karaffa
17,576 PointsYour missing the " " around img/cupcake.jpg and the > at the end. should be <img src="img/cupcake.jpg">
Andrew Fischer
Courses Plus Student 2,009 PointsMy answer is marked incorrect and the test will not advance
Andrew Fischer
Courses Plus Student 2,009 Pointsok I will try that thanks!
Andrew Fischer
Courses Plus Student 2,009 PointsWorked, passed, Thanks for the help everyone! Much Appreciated