Problem with my HTML,CSS...make picture like a link

I tried what I just know but its not enought…help guys.


<h2 class="red-text">CatPhotoApp</h2>

<p>Click here for <a href="#"><img src='//'/></a> </p>

You almost had it. To make it into an actual link, you need to add the URL to your anchor tag.

Right now, it’s like this:
<a> <img src="..."> </a>

It should be like this:
<a href="your-url-here"> <img src="..."> </a>

Your code seems to work fine.

Also, to post code, wrap the code block in triple backticks (not single quotes). Like this


code block here.


In <a href="#">, replace # with the url you want to link the image to.
example. <a href="><img src="></a>

The href means the link you want people to click into it ,so therefore href should be a link

Thanks guys!!! Iam gonna try it right now.