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 Create Navigation with Lists

melissa brown
melissa brown
4,670 Points

Image not displaying

hi my image is not displaying here is the code i have put in. not sure what is wrong

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

8 Answers

Shawn Flanigan
PLUS
Shawn Flanigan
Courses Plus Student 15,815 Points

Melissa,

It looks like you're using scr instead of src in your img tag. Change that and your image should show up. I also noticed that in your link, you're pointing to image/number... instead of img/number....

Hope this helps!

Alexander Rasmussen
Alexander Rasmussen
12,901 Points

Can you add the code here so we can see it ? :)

melissa brown
melissa brown
4,670 Points
<section>
      <ul>
        <li>
          <a href="image/numbers-01.jpg">
            <img scr="img/numbers-01.jpg" alt="">
            <p>experimentation with colour and texture</p>
           </a>
        </li>      
       </ul>
</section>
melissa brown
melissa brown
4,670 Points

sorry my code is not posting. is there some way to send a screen shot?

Shawn Flanigan
Shawn Flanigan
Courses Plus Student 15,815 Points

Melissa,

I edited your post to display the code properly. You just need to wrap 3 backticks (left of "1" on your keyboard) before and after your code.

melissa brown
melissa brown
4,670 Points

sorry my code is not posting. is there some way to send a screen shot?

Alexander Rasmussen
Alexander Rasmussen
12,901 Points

You would need to change you image to this line instead:

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

It is src, and not scr. And then you have to link to the right image folder.

Tell if it is not working.

melissa brown
melissa brown
4,670 Points

opps thank you so much!!!