Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
I am trying to add a target to the the anchor in the “see more cats in our photo gallery” part of the code but not sure where to put it. Does anyone have any suggestions on what I can do to troubleshoot this issue?

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <_blank a href="https://freecatphotoapp.com">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; rv:109.0) Gecko/20100101 Firefox/109.0

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

Link to the challenge:

The name of element is: a
This name (a) has to come to the immediate right of the angled bracket <
(Otherwise you are trying to make a new element called _blank which is not a valid html element at this time)

As for the target attribute, it gets added to the anchor tag in exactly the same way as href did (href is also an attribute)

The only difference is that target’s value is "_blank"

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