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 checker may have a bug?

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 made a first post about this where I asked if someone could catch what I did wrong and Michael Afanasiev pointed out that I wrote the "img" and "scr" backwards, but even after I fixed that the Code Checker still says I got the problem wrong. Does anyone have insight into how to fix it?

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

I'm sorryorry! I meant that it still says that I need to add the first image.

Thomas Buchstab
Thomas Buchstab
14,766 Points

you are almost there. but its src="" not scr="" hope that helps

2 Answers

Tobias Helmrich
Tobias Helmrich
31,602 Points

Hey,

you have a typo in your src attribute. It should be "src" instead of "scr". I hope that helps! :)

Iulia Kraiter
Iulia Kraiter
858 Points

Oh my gosh, I can't believe I didn't realize it was src!

Thank you for your help!