Learn HTML by Building a Cat Photo App - Step 13

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 href="https://freecatphotoapp.com"<target=_blank>cat photos</target></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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36

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

Link to the challenge:

Hello there.

Please 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 information you give us, the more likely we are to be able to help.

you must add the “_target” attribute to your element (a).
in go, right after you put your link, you will need to addblank=“-target”.
so: <a href=“your link” blank=“_target”

hello hello hello and welcome to the forum!

I think it is so nice of you to join this forum and literally the first thing you do is try to help someone else, as most people when they first join just want to get help for themselves. Kudos to you!

Your spirit of generosity is to be appreciated. I would only ask you to use hints and tips in future to help the other learners here (your last post did include a bit too much of the code solution).

When you go out of your way (as you did) to help someone with some gentle hints and tips, that will be that much more valuable to everyone.

As well, if you can imagine someone trying to learn, and they are presented with two paths. The first one they must work and struggle to learn something new, and the other one, they can simply copy someone else’s work. It is possible in this scenario that they may choose unwisely and just copy and paste a solution they found online (like yours for eg). Then there is a high chance in this case that they will not succeed in future to become a developer because they never learned to code and debug and communicate. They just learned how to use copy-paste.

I know you understand this concern, and if you can go back and edit your post to provide a hint/tip only, that would be appreciated.

Welcome friend and I hope to see your future contributions here and elsewhere in FCC.

2 Likes

Thanks for the straightforward answer Dycoder95, i was searching for a direct answer from the forums for like 10 minutes or so but couldn’t find anything so I posted it myself here, and only afterwards was I able to find the problem after I got a hint from one of the other forums that was helping someone else on step 13.

1 Like

Hi there hbar1st, I realised my errors and finally figured out that target isn’t meant to be its own tag but something you add into the existing a tag like href

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.