Learn HTML by Building a Cat Photo App - Step 14

Not sure what I’m doing wrong here but I’ve tried adding _blank in different places at the opening and even just tried _.
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 <a href="_blank 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 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

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

Link to the challenge:

@ambie2489
Hello!
The href is separated from its value by the _blank target value.

I suggest placing the target attribute with its “_blank” value just after the a anchor and before the href attribute and its value.

Leave a space before and after.

Happy coding! :slight_smile:

Remember that elements have the syntax:

<element attribute="value">content</element>

Here you’ve set the href attribute to _blank https://freecatphotoapp.com. Instead, the href should be left as it originally was, and you should add a second attribute.

The second attribute should be target with the value _blank.

Thank you! I got it now.

1 Like

One step closer to your goal!

Happy coding! :slight_smile:

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