Learn HTML by Building a Cat Photo App - Step 13

Tell us what’s happening:

Step 13
Now that you turned the text cat photos inside the p element into a link, you don’t need the second link below the p element. Delete the entire anchor element below the p element.

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

A <h3><a name=Your code so far
<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our  gallery.</p>
       <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
     </main>
  </body>
</html>

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 13

i am facing error after deleting extra anchor tag

Welcome to the forum @fullstack8

Here is a comparison of the original code and your code.

The code in blue is the original code, the code in red is your code.
The code in magenta is the overlap.

Do not make any changes to the elements you created in the previous step.

It looks like you added an extra space before the word gallery
Try removing that.

Happy coding

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