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