** Step 14
Turn the image into a link by surrounding it with necessary element tags. Use https://freecatphotoapp.com
as the anchor’s href
attribute value**
Test
Sorry, your code does not pass. Keep trying.
Hint
Your anchor (a
) element should have an opening tag. Opening tags have this syntax: <elementName>
.**
note: after I received this error message, I clicked on the cat photo anyway to see what happens and a little message dropped down from the top of the page saying,
“freecodecamp.org says,
Normally this link would bring you to another website! It works! This is a link to:(the correct link was inserted here (2 link max per post/new user))”
Your code so far
<html>
<body>
<h1>CatPhotoApp</h1>
<main>
<h2>Cat Photos</h2>
<!-- TODO: Add link to cat photos -->
<p>Click here to view more
<a target= "_blank" href= "https://freecatphotoapp.com">cat photos
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
</a>
</p>
</main>
</body>
</html>
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.66 Safari/537.36 Edg/103.0.1264.44
Challenge: Step 14
Link to the challenge: