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

WHY ARE MY IMAGES NOT SHOWING ON MY WEBSITE

My images are not using on my website, just the <p> that links the images shows it. It doesn't show on the portfolio page.

Can you post some of your code, so that we can better assist you?

<div> <section> <ul id="gallery"> <li> <a href="img/numbers-01.jpg"> <img scr="img/numbers-01.jpg" alt=""> <p>fola with the hood gang</p> </a> </li> <li> <a href="img/numbers-02.jpg"> <img scr="img/numbers-02.jpg" alt=""> <p>oga nla boss.</p> </a> </li> <li> <a href="img/numbers-06.jpg"> <img scr="img/numbers-06.jpg" alt=""> <p>nigga get a blunt ready.</p> </a> </li> <li> <a href="img/numbers-09.jpg"> <img scr="img/numbers-09.jpg" alt=""> <p>weytin we dy for here.</p> </a> </li> <li> <a href="img/numbers-12.jpg"> <img scr="img/numbers-12.jpg" alt=""> <p>Neighborhood shit.</p> </a> </li> </ul>
</section> <footer> <a href="http://twitter.com/folabest1"><img scr="img/twitter-wrap.png" alt="twitter logo"></a> <a href="http://facebook.com/FolabestOladipo"><img scr="img/facebook-wrap.png" alt="facebook logo"></a> <a href="http://instagram.com/folabest1"><img scr="img/instagram-wrap.png" alt="instagram logo"></a> <p>© 2015 Folabest</p> </footer> </div> </body> </html>

3 Answers

You've typed scr instead of src for your images. Think of it as reading "image source."

For example:

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

make sure the images are in the right folder (img).

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,254 Points

also if you're following the challenge you don't need hyperlinks in your answer.

<ul id="gallery">
      <li>
        <img scr="img/numbers-01.jpg" alt="">
          <p>text</p>
      </li>
      <li>
        <img scr="img/numbers-02.jpg" alt="">
          <p>text.</p>
        </a>
      </li>
      <li>
        <img scr="img/numbers-06.jpg" alt="">
          <p>text</p>
      </li>
      <li>
        <img scr="img/numbers-09.jpg" alt="">
          <p>text</p>
      </li>
      <li>
        <img scr="img/numbers-12.jpg" alt="">
          <p>text</p>
      </li>
    </ul>