Step 14 surrounding the cat link

** Step 14
Turn the image into a link by surrounding it with necessary element tags. Use as the anchor’s href attribute value**


Sorry, your code does not pass. Keep trying.


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, 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

    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more 
      <a target= "_blank" href= "">cat photos
        <img src="" alt="A cute orange cat lying on its back.">
  **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:

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