Build a Cat Photo App - Step 15

Tell us what’s happening:

  <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg" target="_blank">cute cats</a> online!</p>

i always get a pop up message saying i didn’t add the targert attribute or there is a space between the anchor element and the targert attribute. Please help me with this part

Your code so far

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

<!-- User Editable Region -->

      <p>See more <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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36

Challenge Information: i always get this pop up in step 15 saying that there is space between the anchor element and the target attribute. i am finding it difficult knowing where exactly to place the target attribute

Build a Cat Photo App - Step 15

Did you add the target to the wrong link?

You need to add it to the “See more cat photos” link highlighted with a dark background in the editor.

1 Like

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