Stuck on step 14 please help

Tell us what’s happening:
not sure where to put the necessary tags? can someone help me please?

  **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>
  <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 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Challenge: Step 14

Link to the challenge:

Wrap the <a> tag around the <img> tag.

now its saying “Your anchor ( a ) element should link to https://freecatphotoapp.com . You have either omitted the URL or have a typo”

Can I see your code please? I think i might be able to help.

 <a><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

The <a> tag needs an href to be a link.

thank you have solved it

1 Like

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