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 trialAditi Mittal
UX Design Techdegree Student 7,302 Pointsimages and list
its one of the question in the quiz and its says make sure to use a ul tag?
<!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>
23 Answers
Dylan Dixon
947 Pointsyou need to open and close the ul tag, so
<ul>
</ul>
Dylan Dixon
947 Pointsno, it's not ' it's in the top left corner of your keyboard under the esc button. `
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsi did that but it says use ul tag ...what is that means?
Dylan Dixon
947 PointsUm, ul means unordered list.
I'm really not too sure what you're asking here.
Let me check the code challenge out.
<ul>
</ul>
that's all that you need to put in under the img that you put in the body.
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsits the challenge in images and list section, 3 question
Dylan Dixon
947 PointsYes that's what I went into.
All that you need to do is put the following code into the body tag under the img tag.
<ul>
</ul>
okay?
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsit was asking me to create a empty unordered list so what i did is this
<ul> </ul>
Dylan Dixon
947 Pointsthe empty unordered list is the code that I wrote above.
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsokay let me try again.
Dylan Dixon
947 PointsDid it work?
Dylan Dixon
947 PointsDid it work?
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsno i did it again and its says use the ul tag. i wrote <ul> </ul>
Dylan Dixon
947 PointsWhen you're writing code in the forums (not in the code challenges) you must put three 's and then put the code there and put three
's to end it off.
try putting the code up in between those.
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsthree ' s <ul> </ul> three's
Dylan Dixon
947 Pointswhoops.
click on the markdown cheatsheet. It'll explain it much better than I can.
Aditi Mittal
UX Design Techdegree Student 7,302 Points'''<ul> </ul>'''
Aditi Mittal
UX Design Techdegree Student 7,302 Points'''html <ul> </ul> '''
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsyay i got it..finally thanks:)
Dylan Dixon
947 PointsAlright.
But yeah you just need put that under the img tag.
If it doesn't work then I really don't know what else to say.
Actually if it doesn't work copy and paste the code just like you did today.
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsso ya this is what i wrote in my quiz but its not taking it.
Dylan Dixon
947 PointsOkay um, take the whole thing, copy it all and paste it here inside the things that you just used alright?
Aditi Mittal
UX Design Techdegree Student 7,302 Points```html<!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>
Dylan Dixon
947 Pointstry to put some spacing between the three ` things and the doctype. Nothing showed up.
Dylan Dixon
947 Pointstry to put some spacing between the three ` things and the doctype. Nothing showed up.
Aditi Mittal
UX Design Techdegree Student 7,302 Points```html<!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>
Aditi Mittal
UX Design Techdegree Student 7,302 Points``<!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>
Dylan Dixon
947 Points... dude, put some space between the html and the doctype.
Aditi Mittal
UX Design Techdegree Student 7,302 Points``` html<!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>
Dylan Dixon
947 PointsOkay seriously, you're kind of spamming right now.
Put some space between the html and the slanted bracket with the exclamation point.
Aditi Mittal
UX Design Techdegree Student 7,302 Points``` <!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>
Dylan Dixon
947 Pointsyou're doing <!DOCTYPE html>
but it should be ``` then the html and then an enter then the doctype.
Aditi Mittal
UX Design Techdegree Student 7,302 Points<!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>
Dylan Dixon
947 Pointsyou need to close your img tag.
<img src="img/cupcake.jpg">
<ul>
</ul>
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsoh ok.. let me try now
Aditi Mittal
UX Design Techdegree Student 7,302 Pointsya its done its taking it now..Thanks:)
Dylan Dixon
947 PointsNo problem!
By the way, this will ask you to pick a best answer later on so I'd just do it now.
Alex Tasioulis
4,950 PointsThis was delightful!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1111one
Dylan Dixon
947 PointsI have a headache.