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

HTML Build a Simple Website Text Editors and HTML Images and Lists

unordered 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
Chase Lee
29,275 Points

You forgot to close your img tag. And your missing the quotes around img.cupcake.jpg.

Hi 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
Chase Lee
29,275 Points

Could you give use the code that your using.

Can 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
Chase Lee
29,275 Points

Or I can reformat it for you.

In the challenge I typed: <ul></ul> as well as <ul><li></li></ul> both were marked wrong

Thanks for the quick replies!

Chase Lee
Chase Lee
29,275 Points

Make sure that your code goes after the img tag.

I entered the code under the img tag

Chase Lee
Chase Lee
29,275 Points

Could you show everything? Thanks.

The 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>```

sorry

    <img  src=img/cupcake.jpg 
    <ul></ul>
  </body>```
Chase Lee
Chase Lee
29,275 Points

You forgot to close your img tag. and your missing the quotes around img.cupcake.jpg.

Your missing the " " around img/cupcake.jpg and the > at the end. should be <img src="img/cupcake.jpg">

My answer is marked incorrect and the test will not advance

ok I will try that thanks!

Worked, passed, Thanks for the help everyone! Much Appreciated