Learn HTML by Building a Cat Photo App - Step 15

I can’t figure out why it keeps saying I only need one (a) anchor, I only have one open one, and it keeps saying I need to remove the other one. What am I doing wrong?

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <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."> <a href="https://freecatphotoapp.com">

Two issues

  1. Where is your closing anchor tag?

  2. Your img element is not inside of your anchor element.

Note - its much easier to help if you don’t delete the link to the challenge.

a href=“https://freecatphotoapp.com”>
you have to writte closing

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