it says, Your anchor (
a ) element does not have a
target attribute. Check that there is a space after the opening tag’s name and/or there are spaces before all attribute names.
<!-- TODO: Add link to cat photos -->
<p>Click here to view more <a href="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.">
I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (
</>) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
I don’t see a target attribute anywhere. Have you tried adding one?
Thank you, but still I don’t get what I’m supposed to do,
sorry it’s been 4 month since I was here last
so please can you guide me more
Have you attempted to add the target attribute? I don’t see anywhere that you tried to add it. Its easier for me to comment on what has you hung up if you show me what you tried.
You add a target attribute in the same way you added the src and href attributes.
that’s what I mean sire, I’ve actually forgot how to add a target attribute
Can you locate the src and href attributes in your code?
Yes I can see it
does that mean I’m to add = in front of <a ?
‘in front of <a’? I’m not sure what that means.
okay please can you help me out ?
like can you help me make it easier
I can’t write the answer for you.
Can you paste the href and src attributes into your reply so i can see what you think they are?
You will need to add the target attribute to pass this step.
It goes inside the opening tag of the anchor element.
(just like href attribute, but it is called target)