Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening: I think I have successfully placed what is expected for my target=“_blank” in my (a) element but it still won’t let me go through…

See more cat photos in our gallery

What am I doing wrong pls??? Describe your issue in detail here.

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">cat photos</a> in our gallery _blank.</p>
      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery _blank.</p>

<!-- User Editable Region -->

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

<!-- User Editable Region -->

      <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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

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

Link to the challenge:

You should only have one p element. I would probably restart the step to get the original HTML back.

You add the target attribute to the a tag just like you added the href attribute to the a tag. In other words, you add it inside the opening a tag using the format name="value". You were very close on the third link, but you didn’t quite get both quotation marks in the right spot.

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