Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:

  1. 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.
  2. The value of the target attribute should be _blank. You have either omitted the value or have a typo. Remember that attribute values should be surrounded with quotation marks.

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 15

it looks like you added it to the wrong a element

the one highlighted is this one, so you need to make changes to this one