Learn HTML by Building a Cat Photo App - Step 14

what to do?

Your code so far

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

Your browser information:

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

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

Link to the challenge:

Hello. Your goal for this challenge is to add another attribute to the a (anchor) html element’s opening tag in the page. In this instance, it is the target attribute with a value of “_blank”. This will cause the anchor element, when clicked, to open up in a new page. If you’re unsure what an attribute is, I’ll give you a hint. It already has an attribute called href.

Happy learning. :slight_smile:

1 Like

where do i place the _blank?

If I tell you that the value of the existing href attribute is https://freecatphotoapp.com, would that help you?

nope i don’t know where to place the _blank

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