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 Structure the Image Gallery

Yusfu Daramay
Yusfu Daramay
166 Points

Picture still wont show up

I have tried different search engines. I tried to upload my own pictures from my computer but it won't show up in the preview. At first I thought it would be <a src="img/ipod pics 688.jpg'' alt =" " but nothing shows. The challenge is to use your pictures and upload them to the website we are building. I have looked carefully and can't find any syntax errors. Can anoyone please help me. Thank you.

Anthony Domina
Anthony Domina
Courses Plus Student 19,571 Points

<a href="img/Fukuoka.jpg"> <img src="img/Fukuoka.jpg" alt="">

Here's an example of how I have this set up on my own site. The <a> tag that holds the image will take a user to the image itself when clicked on. <img> is the container that will show the image on the site itself.

If you look at my example: <a> goes with href <img> goes with source.

You have <a> and src mixed when they should not be. Please try my example and let me know if it helps!