Learn HTML by Building a Cat Photo App - Step 15

Hi, please help a sister out…I was supposed to add target= " blank_" to the anchor… opening tag but it wasn’t specified which anchor should be used, I therefore used any anchor to only discover that where I’m supposed to add a target there’s no anchor.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves < target="_blank" a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>
      <p>See more < target="_blank"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>

Your mobile information:

SM-A032F - Android 13 - Android SDK 33

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

Link to the challenge:

@Rethabile
Check line 8 with the <a></a> element

You put target before the letter a confusing the test console, it doesn’t see the anchor element, fix this and try again if you have any more questions, feel free to message me.

signed,
Lumi Athena

Happy coding!

1 Like

Hii, kindly shift the word a before target, then it will become opening anchor tag.

Hope You Understand.

1 Like