Learn HTML by Building a Cat Photo App - Step 14

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

Your code so far
does anyone know how to resolve this?

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

<!-- User Editable Region -->

      <p>See more <a 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 OPR/99.0.0.0

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

Link to the challenge:

The directions say

Add a target attribute with the value _blank

Do you remember how to add an attribute to an element?

sadly not, i just don’t know which one is the opening tag

So you want to add the target attribute, and then the blank would be the value. You can follow this structure

<element attribute=“value>

Element would be your a tag. You just have to fill in the other two spots.

just to be sure, is the attribute the href?

Its one of them, but its also going to be target. So you would use target after the href and then set target to be blank

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