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

What is wrong here?

I entered the code and triple checked it. but there is something wrong, could you help me?

8 Answers

Calvin Nix
Calvin Nix
43,828 Points

I see where the code is failing. You have a very subtle typo in your code.

I'll give you a hint:

The errors are in these lines.

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

Stupid mistake(scr->src), thanks.

Calvin Nix
Calvin Nix
43,828 Points

Don't worry I do stuff like that ALL THE TIME. :)

Keep up the good work.

it is about images.

Calvin Nix
Calvin Nix
43,828 Points

Hey Mantas,

Do you mind providing me with a copy of your code?

Thanks,

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

I don't know why but it doesn't let me to post code here.

Calvin Nix
Calvin Nix
43,828 Points

No worries. I went ahead and formatted your code for you.

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

"

So where was the problem?