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 Add Image Gallery Content

kate salberg
kate salberg
168 Points

Can you help with why I can't see my image in preview on the workspace in Structure the Image Gallery section?

I'm not able to see the image but do have lines of text which read ../ no date or time img/ date and 08.45 no number index2.html date and 08.59 and 649 alongside

I had trouble dragging the files into the imag folder and it took three goes so maybe there is multiple information.

I also have some of my code on the workspace highlighted red suggesting there is something wrong but I can't see any differences to Nick's.

Thankyou everyone. I am SO slow!

Kate

Would you be able to post your code so we can see what you have put?

kate salberg
kate salberg
168 Points

Hi Mike,

Now I'm having trouble working out how to post the code but here's my effort.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Kate Salberg| Showcaller</title> </head> <body> <header> <a href="index.html"> <h1>Kate Salberg</h1> <h2>Showcaller</h2> </a> <nav> <ul> <l1><a href="index.html">portfolio></a></l1> <l1><a href="about.html">About</a></l1> <l1><a href="contact.html">Contact<a/></l1> </ul> </nav> </header> <section> <ul> <l1> <img src="img/numbers-o1.jpg" alt=""> </l1> </ul> </section> <footer> <p>© 2015 Kate Salberg.</p> </footer> </body> </html>

Hi kate, I think I may have found the issue.

This is your code:

<img  src="img/numbers-o1.jpg"  alt="">
``` html
I think that you may have mistyped the link it should read:
```html
<img src="img/numbers-01.jpg" alt="">
```html
it seems like you typed the letter o instead of the number 0 :)

I think that should solve it anyway
kate salberg
kate salberg
168 Points

Thanks Mike,

I tried that and refreshed the page but no change.

It might help if you were able to see the code in colour but not sure how to make that happen.

Thanks for your time though

Kate

are you sure all the images are in the img folder?

kate salberg
kate salberg
168 Points

I'll double check when I'm back. Off with the dog for a walk..

2 Answers

Albert González
Albert González
22,953 Points

I found the error!, the markup

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

The correct markup for the list element it's "LI" and not "L1", please change this from your code and try it! Change the "numbers-o1.jpg" to "numbers-01.jpg" :)

kate salberg
kate salberg
168 Points

I copied & pasted into a new file & it worked. Must have been an existing error on the page. Thanks for your help.

Kate