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
Will Reynolds
6,061 PointsHelp on adding an empty unordered list
Cant pass the challenge on unordered lists, here's what I have:
<!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>
4 Answers
Chase Lee
29,275 PointsYou need to close your img tag with a >. You have this:
<img src="img/cupcake.jpg"
You need this:
<img src="img/cupcake.jpg">
Stuart Dunn
4,097 PointsHi Will,
To pass this all you need to do is add a opening and closing ul tag within the body tags of the document.
Will Reynolds
6,061 PointsLike this?
<ul></ul>
Stuart Dunn
4,097 PointsYes, But I have noticed in your code that you have not closed your image tag. You will need to close the image tag with > and it will work
Chase Lee
29,275 PointsIf you need more help on this just tag me.
Chase Lee
29,275 PointsChase Lee
29,275 PointsWill Reynolds I reformatted your code. You can find out how I did it here.