Your anchor (a) element should have an opening tag. Opening tags have this syntax: <elementName>

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more 
        <a target _blank (ahref="https://freecatphotoapp.com">cat photos</a>.</p>
    <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>

hi all i’m stuck at this part of the challenge, and have been for a while i just cant seem to get it right. i don’t understand what the hint is telling me to do. and cannot figure it out for the life in me. any help would be greatly appreciated.

  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15

Challenge: Step 13

Link to the challenge:

So, the a’s opening tag in the original code was this… it seems like you’ve edited it in yours but I’d start with the original:

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

What it’s asking is for you to add a new “attribute” called target in that tag, and the value should be _blank. To give you an idea of what that should look like… it should have the same structure as the other “attribute” href, that has a value of https://freecatphotoapp.com. Also below a <div> element with multiple attributes as a reference of what multiple attributes might look like:

<div id="mydiv" class="div-class" onclick="runmyfunction()">

I was just stuck on this one. The tip that helped me was that it told me the <img line goes within the <a and not the other way round

1 Like

Can you share your code so that i can help you

Thanks a lot for your help I’ve managed to figure it out :slight_smile:

I am also stuck on this one. How did you manage to do it?

Nvm I figured it out thanks a lot

1 Like

hello, if possible can you send the solution

keep trying you’ll get there. it was quite simple in the end. also google helps too. loads of good information there.

HI All,

I too am still struggling with this. I have tried all kinds of things and looked at this in other HTML Editors and no errors there. I cannot continue with this if I cannot get passed this issue. I keep getting

Test

Sorry, your code does not pass. Don’t give up.

Hint

Your anchor (a) element should have a closing tag. Closing tags have a / just after the < character.

Here is the code:

CatPhotoApp

Cat Photos

Click here to view more

<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"

It seems really stupid