The instruction was that I should make the image into a link but I've tried my possible best but to no avail

Tell us what’s happening:
Describe your issue in detail here.

  **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</a>.</p>
 <a target = "_blank" href = "https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back." >
  </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/102.0.5005.63 Safari/537.36 Edg/102.0.1245.33

Challenge: Step 14

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


Where is the closing anchor tag?

Where is your closing tag for your anchor element ?
remember every non self-closing element needs an opening and closing tag s
<element name> Opening tag
</ element name> Closing tag

Also just a note:
you don’t need that space in your anchor attributes

this is easier to read
<a target="_blank" href="https://freecatphotoapp.com">

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.