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

saroosh zaman
saroosh zaman
1,831 Points

Don't See the Images on the main page

After adding a few images in the section element, i see the bullet on the webpage and then text(caption) in the next bullet that if i click, opens up an image itself. But i don't see any image on the main page after the bullet. I don't understand why?

1 Answer

Make sure you include a <img> tag inside of the <a> tag that you have already put. After doing so, you should write something like this inside of the anchor elements: <img src="images/numbers-01.jpg" alt="">. Of course the src is going to be different but you should get the point. Also, make sure to leave the alt empty but allow it to have the double quotes. Hope this helped! :)

saroosh zaman
saroosh zaman
1,831 Points

ops. found it, was a very silly mistake. I spelled src wrong. i typed scr instead of src, the tags and everything else was right. it works now. thanks though :)