Level 13 confusion

Tell us what’s happening:
How do I use a target attribute?

  **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 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 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15

Challenge: Step 13

Link to the challenge:

The same way you added the href attribute to the link. Instead of href you are using target. Instead of setting the value to a URL, you are setting the value to “_blank”. Make sure you separate the attributes with a space.

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