Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
Its telling mebits wrong. I am anchor it correctly as it is showing and still, is not acceptable.

Does the (a) anchor need the both [<>] arrows or not . When i out it, not working, when i change it so it highlighted, its tell me the its missing the element for the (a). So hard. For no reason.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more 
     <a 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>
    </p>
</main>
  </body> 
</html>

Your mobile information:

SM-G996U - Android 14 - Android SDK 34

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

Link to the challenge:

Hi there,

First of all, you should reset and try again.

This time, only make change to the code on line 8, don’t change the code on line 7:

<p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

To answer your question:

Yes, it does. You can look at the example code in the instruction:

<a href="example-link">
  <img src="image-link.jpg" alt="A photo of a cat.">
</a>

Both the opening tag <a> and the closing tag </a> have <> arrows.


There are a few mistakes in your code:

You missed the > arrow in the opening tag:

You missed the > arrow in the img tag too:

And there are no dot (.) after "jpg" in the link of the image:


PS:
Learning to program on mobile is hard. If you can afford, it’s better to learn on a computer.

When i add the closing tag, its unhighlight-ing -ing.
Any suggestions on why

Hi there!
Post your updated code here.