I have a problem with step 12 I cannot turn the image to a link without deleting the image

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>
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."></a>
   </main>
 </body>
</html>
   **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:99.0) Gecko/20100101 Firefox/99.0

Challenge: Step 14

Link to the challenge:

Hi,

So when you made the text ‘cat photos’ into a link you did it like this,

<p>Click here to view more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a>.</p>

So, to make this work you need to write out the anchor element and put the img code where the text ‘cat photos’ was in the above example, you will turn the image into a link.

Hope that helps!

line 8 add the opening anchor tag,

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