Learn HTML by Building a Cat Photo App - Step 14

hello everyone can someone help me on step 14 its saying you need only one anchor tag but i have one anchor tag in the code someone pls help thx below is my code so far

  **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 href="http://freecatphotoappcom"><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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS aarch64 14909.100.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:

  • Ask yourself this first: is an anchor tag self-closing or does it need a closing tag?
  • Second question: is the url in the href attribute identical to the one provided by the instructions (down to each and every single character being the same?)

Hope this helps

it does not say it needs a closing tag this is what its says You should only add one opening anchor (a) tag. Please remove any extras.

okay, let’s say you believe that it doesn’t need the closing tag, how can you double check that?
(Hint: google: “anchor tag html” and click on this link
HTML a tag)

thx so much i figured it out

1 Like

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