Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

am i putting it in the wrong place?

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="https://freecatphotoapp.com">cat photos <a target="_blank"></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/118.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

Welcome to the community @Mateo_1428

Good attempt.

Add it to the opening anchor tag in the same way the href attribute and its value have been entered.

Please make sure to leave a space before the target element and any other code within the anchor?

Happy coding!

where do i put it in the achor tag exactly? you didnt state where.

Hi, so you have two anchor tags openings ( <a ) but only one closing one ( ). Make sure first to delete the first anchor tag including what follows untill >.
Now you have to add back the target=“_blank” right after <a. The reason you would do this, is to make sure, that the link you are displaying will open on a new tab when clicked.

Here is a link that explains how to use and enter the target attribute and its value _blank

I found it in the freeCodeCamp News category by searching freeCodeCamp News target

The freeCodeCamp News category is found in the menu, as well, searches can be done by using
image
on the top right side of the page.
I have done searches, like this one, on the browser and it allows me quick access to the News Category.
Happy coding!

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