Learn HTML by Building a Cat Photo App - Step 14

From every forum post I have read and my own research it appears that I have the target attribute formatted correctly, but I continue to be told it’s incorrect and get this hint:

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

I just don’t understand what is wrong here, because beyond the target attribute it appears to me all of my spacing and other syntax is correct.

Here’s my code:

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

<!-- User Editable Region -->

  <p>See more <a target=“_blank” 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

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

Link to the challenge:

Those quotation marks don’t look like the other quotation marks you’ve added so far. They look like “fancy” quotes instead of regular ascii quotes. How did you add those quotation marks?

I think I added them by manually typing, but I don’t know 100%.

Well, they are definitely not the same as the other quotation marks in the HTML, so you’ll need to fix them to be regular old ascii quotation marks.

1 Like

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