Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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