Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
This is what I get back after submitting my code
Your anchor (a ) element should have a closing tag. Closing tags have a / just after the < character. But I do have a closing tag.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
          <a target="_blank" href="https://freecatphotoapp.com"</a><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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:

The instructions did not ask you to change this line at all.

This is invalid syntax for an anchor element.

If you reset the code, you can see an example of valid syntax for an anchor element.

I’m stuck on this step as well, I just don’t have enough experience to understand how to correctly “… surround it with necessary element tags”. I think I’m going to be stuck on each and every step going forward.

i want to answer you properly so please go ahead and click on the “Ask for Help” button to get your own topic opened up with your code and a link to the step you are on.
(we don’t want to bother the original poster with our side discussion)

I don’t see an Ask for Help button anywhere

it will show up when you try to solve it a few times (3 times) and fail

1 Like

I will try. Thank you for the feedback!

  <a target="_blank" href="https://freecatphotoapp.com"</a><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

This is what I get back now. You should only add one opening anchor (a ) tag. Please remove any extras.

But the anchor being used are necessary.

This is not a complete opening tag.

Look at the correct anchor element inside of the p element as an example

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