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
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!
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.