Build a Cat Photo App - Step 15

Tell us what’s happening:

I’m stuck in step 15 building a cat photo app- I’m so frustrated it keeps saying: Your anchor (a) element does not have a target attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names.

Your code so far


<!-- User Editable Region -->

<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>


      <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>

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 15

You’re adding the attribute in the wrong spot, it needs to be in your anchor tag in the second paragraph element.

it doesn’t have a target attribute

Yes it is so frustrated

if you need help please create your own topic

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.

The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.