Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening: keeps saying i should only have one anchor tag, but as far as i can tell i do only have one. My newbie apologies
<img src=“https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg” alt=“A cute orange cat lying on its back.”

  **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."</a>
        </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/103.0.5060.134 Safari/537.36 Edg/103.0.1264.77

Challenge: Learn HTML by Building a Cat Photo App - Step 14

Link to the challenge:

You almost have it, there is just one problem. Remember, a tag always begins with the < character and ends with the > character. Does the <img> tag have both of these? You might have accidentally deleted one of them.

I so appreciate you feedback. No matter what I do I missing it somehow. Keeps saying only one anchor tag should be there
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.”

I do have the closing tag on this but cut it off in my reply: 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.”

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

Also, if you are typing in the editor, put the cursor on a line by itself and press Ctrl + e. This may automatically give you the triple back ticks.

You’ll need to do this so we can see your actual HTML in here.

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