Tell us what’s happening:
Describe your issue in detail here.
I just Can’t seem to put the anchors in right, no idea where I’m going wrong, also this course does not seem very good at providing the necessary information from one step to the next, its like all of a sudden I’m tasked with doing something that is clearly not explained. just confused. Your code so far
<html>
<body>
<main>
<h1>CatPhotoApp</h1>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
<!-- User Editable Region -->
<a href="https://freecatphotoapp.com"</a> <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
<!-- User Editable Region -->
</main>
</body>
</html>
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15
Challenge: Learn HTML by Building a Cat Photo App - Step 15
This course is one of the best. It is supposed that you pay attention to what you have already done, just like in this example. The line from the code you have posted here:
<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
explains very well how to make a link from anything (in this case the words “cat photos” are hyperlinked).
If you want to turn an img element into a link follow the rule:
after the <img></a>. This is how it should look. After the <img> element you’re missing the closing anchor tag </a>. Once that’s added , it should work.
The anchor element should be wrapped around the image element. In order for the image to be a hyperlink, you need to do the following; <a href=" value goes here"><img src="value goes here"></a>