Welcome to the Treehouse Community
Looking to learn something new?
I've successfully uploaded the image files, but when I hit preview, it doesn't show numbers-01.jpg, just a question mark
I'm wondering if I've done the coding wrong.
<img src="img/numbers-01.jpg" alt="">
Emma WillmannTreehouse Project Reviewer
Can you post your code in here? It will help us figure out whats wrong. I still run into problems where I think I've written the code correctly, but come to find out, I missed one simple little thing.
If you haven't posted code in the forum before, there is a Markdown Cheatsheet below the textbox that shows you how to do it.
Can you show the code you've got written out? It would help a lot. The question mark means the img link is "broken" if you carefully examine the html for that picture, as well as check the folder the image is stored in I suspect you'll find a minor misspelling, a rogue capitol letter, or a missing file.
<a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> </a>
Yes, I dragged and dropped the images. If I click on them individually I can see every picture.
Ah! I put them in Img and not img. Wow, such a tiny thing. Thanks so much for your help!
That link should work the way it's written so I'm with Emma that the file's location or name might be off.
The only other thing to check is something I ran into which is sometimes the JPG file extension might be in caps, the file name needs to match exactly including caps.
So in the same place that your index.html file is stored there should be a folder named "img" and your numbers-01.jpg file should be in that "img" folder and make sure the file name exactly matches the html and you should be all set :)
It's always something elusive but small and easy to fix, you got this.
AWESOME! I also had the same problem! I named the folder Img and not img! when I renamed it, it was fixed like magic! thank you so much!