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

Iulia Kraiter
Iulia Kraiter
858 Points

Code Challenge doesn't seem to recognize my work.

Hello,

I'm working on Task 2 of 2 of the first challenge in the “Creating HTML Content” of the How to Make a Website unit in the Web Design Track. It asked me to add the images "numbers-01.jpg", "numbers-02.jpg" and "numbers-06.jpg", and leave out attributes, descriptions and links, but after I did those things, the Check Work function says I did not add the first image. I tried to figure out why, but I can’t. I don't think I missed anything, but I could have. Please let me know if you catch problem with my code.

Thanks,

Iulia

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><scr img="img/numbers-01.jpg" alt=""></li>
        <li><scr img="img/numbers-02.jpg" alt=""></li>
        <li><scr img="img/numbers-06.jpg" alt=""></li>    
      </ul>
    </section>
    <footer>
      <p>&copy; 2013 Nick Pettit.</p>
    </footer>
  </body>
</html>

4 Answers

Michael Afanasiev
PLUS
Michael Afanasiev
Courses Plus Student 15,596 Points

Hey Lulia,

You almost got it, check your img tag again

     <ul>
        <li><scr img="img/numbers-01.jpg" alt=""></li>
        <li><scr img="img/numbers-02.jpg" alt=""></li>
        <li><scr img="img/numbers-06.jpg" alt=""></li>    
      </ul>

Should be

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

Hope this helps! :D

Iulia Kraiter
Iulia Kraiter
858 Points

Thank you Michael,

It's no wonder that I made a mistake then, but the Code Challenge still says I need to add the numbers-01.jpg pivture even after I corrected the syntax.

Michael Afanasiev
Michael Afanasiev
Courses Plus Student 15,596 Points

That's odd, I just completed this challenge without any issues, try to add it like so:

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

Without the img folder.

Iulia Kraiter
Iulia Kraiter
858 Points

Hello Michael,

I just realized I wrote scr instead of src. I can't believe I couldn't tell.

Thank you for your help!

Michael Afanasiev
Michael Afanasiev
Courses Plus Student 15,596 Points

Again?! XD I thought we passed that! No problem, glad I could help!

Iulia Kraiter
Iulia Kraiter
858 Points

Hello!

I've been away from Treehouse for 4 days but I am back now and I just want to say thank you one more time.

Thank you!