Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Describe your issue in detail here.
What am i doing wrong? Please help. I am attempting to use the anchor on its own line… and it keeps telling me im using the (a) anchor wrong, that it should be anchored to “cat photos” . If you can see what im doing wrong please, just tell me. I dont want the run around. Im fustrated at this point.
Hoping for the best,
K
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" target="_blank" cat photos >
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">
     </a> in our gallery.</p>
    </main>
  </body>
</html>

Your mobile information:

SM-G996U - Android 14 - Android SDK 34

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hi @Mykeeper , welcome to fcc community.

You messed up other lines of code so you should reset the code and try again.

This time, you should make only change to this line:

<p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

by adding a target attribute with the value _blank inside the opening tag </a>.

You can look at the given example as a reference on how to do so.

Ok, i tried that @toan and i was getting the same response the my (p) is missing the (a) element or a typo.

Im no longer fustrated, im now just over thinking .

Ill try it again. Thank you.

Hi @Mykeeper ,

First of all, are you sure this is Step 14 and the request is:

Add a target attribute with the value _blank to the anchor (a) element’s opening tag, so that the link opens in a new tab.

And secondly, could you please post your updated code?

You can post your updated code by copy and paste your code between 2 line of ``` (3 back ticks) (the back tick key is usually under the Esc key on your keyboard), like this:

```
# your code here
```

or you can use the Preformatted Text button:


It’s also more difficult to learn on mobile because of the small screen and the virtual keyboard. You should learn on a computer If you can.