Learn HTML by Building a Cat Photo App - Step 13

Tell us what’s happening:
Describe your issue in detail here.

I don’t understand my mistake. cat photos text is right … I’m lost
Your code so far

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a"target_blank" href="https://freecatphotoapp.com">cat photos</a>.</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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:

Hey! the problem seems to be on this line, target is an attribute which is used to tell the browser if the link will open up in a new window or not.

This is not the correct syntax for an HTML attribute.

if you want to learn more about the target attribute, then this article might be of use!

Hope this helps! :smile:

1 Like

Ok thanks, i understand, but the comment said: to the opening tag and not the last… it
was disturbing!

The order of the HTML attributes doesn’t matter. The following are the same.

<a href="https://www.freecodecamp.org" target="_blank">freeCodeCamp</a>
<a  target="_blank" href="https://www.freecodecamp.org">freeCodeCamp</a>

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