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

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

<!-- User Editable Region -->

      <p>See more "target <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 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Mobile Safari/537.36

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

Link to the challenge:

target is something that goes inside of brackets

target=“_blank”
in a element opening tag

1 Like

the target attribute goes inside the opening anchor tag with a quoted value of _blank.

Welcome to FCC Forum, a community helping each other.

The target attribute is like the href attribute (or any other attribute). It should be entered into the anchor with its value “_blank” in the same way you added the href attribute with its value.

It is important to leave a space between the target and opening a anchor, and after the value “_blank” before the href.
Example from your previous code.

<a href="https://freecatphotoapp.com">

Suggestion: Reset the step to remove any existing code from the current one.

Do not add, move, nor delete or change, anything other than adding the target attribute and “_blank” value to the existing anchor.

I hope this helps you.

You are doing good!

Happy coding!

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