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
novice J
Courses Plus Student 2,551 PointsHtml Code Challenge!
Hi: Just started to learn html a few hours ago. I can't get past the code challenge where it asks you to Add an empty unordered list below the image. I do just that by typing <ul> and nothing happens. It still says it is wrong.
I also tried <ul></ul> and still nothing. Can anyone help a novice? I have spent the last 30 mins on this.
Cheers
13 Answers
jadaml
11,593 PointsPost up your code. I will see if I can be of help
novice J
Courses Plus Student 2,551 PointsHey. Thanks sooo much.
The Challenge: Add an empty unordered list below the image.
<!DOCTYPE HTML>
<html>
<head>
<title>Smells Like Bakin' Cupcake Company</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<img src="img/cupcake.jpg"
<ul>
</body>
</html>
[[ed. note]] Added markdown to fix formatting
jadaml
11,593 PointsIf you press the space bar 4 times and then paste in your code you will get that grey box that separates your code from the rest of your post and won't cut off the rest of your code.
novice J
Courses Plus Student 2,551 PointsOkay. Will try that. Thanks for the hint!
James Barnett
39,199 Pointsnovice J - You didn't close your ul tag.
novice J
Courses Plus Student 2,551 PointsHi James:
I believe I tried that as well. So, I did <ul></ul> and it still tells me it is wrong. Tried it on the same line, different line, indent etc etc and still nothing.
So I moved on and will sort it out at a later time, hoping to find a solution.
Jason Whalan
860 Points<ul></ul>
R.S. LeDuc
1,745 PointsHey guys seems I'm having the same issue also how do i post my html in this forum and have it post correctly
<!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>
Jason Whalan
860 PointsClick on the markdown cheatsheet link below the comment box for info on entering code.
R.S. LeDuc
1,745 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>
Jason Whalan
860 Points<!DOCTYPE HTML>
<html>
<head>
<title>Smells Like Bakin' Cupcake Company</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<img src="img/cupcake.jpg">
<ul></ul>
</body>
</html>
R.S. LeDuc
1,745 PointsThanks Jason I had tried that before and didn't seem to work but it did now so thanks again
Jason Whalan
860 PointsNo worries.