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!

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

Julia Conlan
Julia Conlan
10,189 Points

select/click on image

My pictures show up fine but I cannot select or click on the image so it will take me to a new pg <a href"img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture</p> </a>

1 Answer

Daniel Butler
Daniel Butler
3,648 Points

Hi Julia,

Just taking a look at this snippet of code, your href attribute is incomplete, a simple mistake, be sure to include the = after href.

<a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture</p> </a>