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!

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

make sure to use a ul tag

i keep getting this thing where it says make sure to use a ul tag on the little quiz. i dont know what i am doing wrong

1 Answer

<!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>

Add an empty unordered list below the image. i need help with that i tried few different things but no luck.

James Barnett
James Barnett
39,199 Points

kunal patel - You forgot to close the closing angle bracket > on your img tag.

Elliott Frazier
Elliott Frazier
Courses Plus Student 9,647 Points

As James said, you need to add a closing angle bracket to your 'img' tag. Everything else looks fine.

thank you that worked.

James ~ was having same problem. Shouldn't the step before be the place we were told we were doing something wrong? I spent an hour trying to figure out what I was missing since I was using ul tags, never even looking at the image code since that had been given a green light. Seems like a misguided and confusing instructional step.

James Barnett
James Barnett
39,199 Points

Jennifer Loughborough - You are right! You found a bug in correctness check of the code challenge.

Tagging Nick Pettit & Tommy Morgan

It checking for a / instead of checking for />

Or, what you meant to say James is that you guys are trying to show us to look at code beyond the current line when troubleshooting. Right? ;-)

James Barnett
James Barnett
39,199 Points

Jennifer Loughborough - I actually wrote a reply saying that very thing. But then I decided to double check just in case there was an actual bug.


Here's my original reply

I'm not exactly sure what you are referring to as you didn't post any code.

However in general, that's not how code works. An issue in one place in your code can cause something to break in an entirely different place in your code.