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 How to Make a Website Creating HTML Content Organize with Unordered Lists

challenge 2 make sure u inlude a tag for image 1 i do but it dosent work help???

in the preview i cant see the pics so i assume is the engine for the challenge because on my workspace it works great

index.html
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Nick Pettit</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Nick Pettit</h1>
        <h2>Designer</h2>
      </a>
      <nav>
        <ul>
          <li><a href="index.html">Portfolio</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="contact.html">Contact</a></li>
        </ul>
      </nav>
    </header>
    <section>
      <ul>

        <li>
          <img src="img/numbers-01.jpg alt="">
         </li>


         <li>
          <img src="img/numbers-02.jpg alt="">          

        </li>

         <li>
           <img src="img/numbers-06.jpg alt="">

        </li>



      </ul>

    </section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

13 Answers

Joshua Bressack
Joshua Bressack
4,538 Points

Your missing a set of double quotes at the end of jpg before the space before alt. let me know if this helps.

Joshua Bressack
Joshua Bressack
4,538 Points

I had copied and pasted your code next to mine which works and the quote marks were the only difference I had found. I also used chrome when I first started but now i use FireFox and it still should work.

Joshua Bressack
Joshua Bressack
4,538 Points
<img src="img/numbers-06.jpg" alt="">

copy and paste this over your last image and see if it previews... dont forget to save before previewing.

Joshua Bressack
Joshua Bressack
4,538 Points
<img src="img/numbers-01.jpg" alt="">

try this one.

men if i cant do this canceling tree house this is great but is alredy been 3 days and i had to stop learning for something as simple as this they need to include cheat sheets for codes for when u get stuck

It looks like you have extra quote marks at the end of each link.

if i remove it it says that task one is no longer complete this is so stupid in workspace works with the same code in challenge it dosent cuz when u hit preview u cant see the pic

Oh! Ok, try adding quotes after the link.

          <img src="img/numbers-01.jpg" alt="">
</li>```

yep ur rigth but i tryed it a buch of diferent ways <img src="img/numbers-01.jpg" alt=""> <img src="img/numbers-01.jpg" alt=">

none of those work am like 99% sure is the challenge that is broken because in work space works and i copy and paste same code gonna try a different browser i use chrome

i have the same code u have in workspace for all of them and it works but on the challege it says am missing a img tag for numbers-01.jpg

<img src="img/numbers-01.jpg" alt="">

thx everyone for ur help ill ask tree house support if not ill cancel cant afford to be at one simple exercise alll week and learn nothing

if anyone has a problem this is the answer the video is misleading

Dane Parchment 3,487 18 minutes ago The problem is the fact that there is no img folder that these images are in. So basically you are trying to reference to images in a folder that does not exist. Remember the instructions only called for:

"Inside the three new list items, add the following images: "numbers-01.jpg", "numbers-02.jpg", and "numbers-06.jpg". Leave the alt attributes blank, and don’t add any captions or links. Just the images!"

See that the images aren't specified to have been in another folder. So that's your problem just remove the "img/" and you should be fine.

yes img folder dosent exist so dont put the braket and i m g

i mean the img and backslash in workspace it exist but in the challenge it dosent