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

Images and Lists, Challenge 2, Question 4

Hi, i'm new to Treehouse.

Im having difficulties passing question "Add the items "About", "Cupcakes", and "Locations" to the unordered list."

I have checked previous posts and suggested code for the question, but no luck as of yet.

I will post my code to check if there is an obvious problem.

I'm new to treehouse as well, am on this same unit, and I have a few comments. First, during the video, the instructor mentions to copy some of the aspects of the code straight into our subtext. I'm not sure how that's possible, because you can't copy text from a video. Secondly, I haven't made it as far as Kern has on the challenge, because there doesn't seem to be much guidance for when you miss a problem, and with this particular quiz, you can't move on to the next question. I'm stuck on question two, dealing with the image tag, even though I think I have it copied pretty much exactly from how the instructor did it on the video, and all I get from a response is a vague version of, "your wrong." Similar to the Khan Academy, there should be a link back to the instruction video, so if you're stuck on a question, you can refer back to the video, rather than having to get out of the quiz, watch the video, then restart the quiz again.

4 Answers

Hi Kem,

Its a simple answer I'm afraid.

check the end of your <img src=

>

It usually is something this small that messes things up :)

You do need to close your ul like you thought btw.

<p><!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>
      <li>About</li>
      <li>Cupcakes</li>
      <li>Locations</li>
    <ul>
</body>
</html></p>

This is my current code, response is "Bummer add 3 list elements to the ordered list"

I have also tried closing off the ul, response for that is that it will then not allow me to pass the previous question. Is there an obvious fault in the code here? thanks.

Thanks, you don't know how long i have been looking at that! Is that also why on the next line the < is showing as red? i noticed that straight away when loading the code up.

Yep, I know the feeling lol

good luck

Hi Daniel,

When your watching a tutorial, if you look to the right of the video you should see a box that has something named ' Project files'.

in here you will find the code the tutor is working on, or most of it anyway, so download that.

You also refer to getting out of the quiz then back again without restarting, I think you are referring to the challenge rather than the quiz, so if I'm right i can tell you a way around this is to copy the code you've already answered into a plain text file.

Then if you need to re watch a tutorial you can just paste in the answers you already completed to get you back to where you were stuck.

I share you thoughts on how vague some of the guides are, I've spent a good few hours on trying to solve a particular problem too.

I would suggest creating a new post if you would like to elaborate on these topics as it could get a bit confusing if we continue things in here.

have fun and enjoy.