I am stuck on the lvl 14 of the building cat photo

Tell us what’s happening:
Describe your issue in detail here.
It keeps telling me my anchor (a) needs an <elementName and to nest the <img line with the anchor, but I don’t know how it works

  **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 href="https://freecatphotoapp.com">cat photos</a>.<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></p>
  </main>
</body>
</html>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36

Challenge: Step 14

Link to the challenge:

Hello,

As the first step, you should probably reset the task. Then let’s focus on the link to the cat photo. Do not mix it with the link above inside the <p> tags.

Once you start again, create a new url to the requested website, then make sure that the cat photo is between the opening and closing <a> tags, so it becomes clickable when you hover the cursor over it.

Found the solution thanks

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