Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
<!-- TODO: Add link to cat photos -->
<p>add link to cat photos <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.">
**Your browser information:**
User Agent is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.96.36.199 Safari/537.36 Edg/105.0.1343.33
Challenge: Learn HTML by Building a Cat Photo App - Step 13
Link to the challenge:
Can someone please put me through on this, I’ve tried everything lol.
Hi welcome to the FCC forum,
Please, next time when you post your question, provide it with a specific question.
Asking a better question will help you understand your current situation.
As I look into Step 13 you need to 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.
But you have not done anything as I see. Try to do it first.
I’m pretty sure if you have tried everything you would have passed this by now.
This is your first hint.
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.
Now I don’t see a
target attribute. Try adding a
Click here to view more cat photos.
Hey can you enclose your code using triple backticsk like so?
paste you code here
I meant I pasted the code I wrote and it displayed this on here.
I declared a tag attribute tag="_blank " within the <a attribute immediately after the web address
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back." tag="_blank">```
Hey it should be
Tag is what makes up an element. →
target attribute should be in the
<href> element NOT in
I know you pasted the code. But as you can see here it is being converted to HTML. Thats why we need you to enclose with backticks so that we can see the RAW code.
All of your code if possible.
I just passed, thank you man.
<p>Click here to view more <a href="https://freecatphotoapp.com" target="_blank"> cat photos</a>.</p>
Glad it worked man, don’t forget to mark it as
Answered. That would be much appreciated
Also don’t post your solution here as it is not allowed.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.