Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening: I really don’t understand where I have to put the _blank attribute, I am trying to figure it out a while now, but I just can’t figure it out and my brain is about to pop from thinking what I’m supposed to do. I need something visual to understand
Describe your issue in detail here.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a _blank href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

      <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/115.0.0.0 Safari/537.36 Edg/115.0.1901.203

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

Link to the challenge:

Hey.
_blank in the value of the target attribute. Therefore, the target attribute should come first then its value.

attribute="value"
2 Likes

oh, well thank you, I didn’t realize all this time that I had to put the word “target” along with the _blank, I thought target was like a term for the “a”, that the “a” is the target

2 Likes

i’m providing the solution directly ok
Mod edit: removed

Mod edit: removed solution

@sanatan4811

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

3 Likes

but if I don’t get it at all even from the hints, how am I supposed to understand what I need to do?

_blank is a value. Every value needs an attribute like so:

<element value="attribute"></element>

Add the target attribute in your opening <a> tag to equal your _blank value.

1 Like

You ask questions. You are not going to learn if the answer is just provided. Someone initially responded to you before the the person gave the solution. If you are unsure of things then you need to ask questions on what you dont understand, or you can ask someone to be more clear, but we dont allow for the answers to be posted

2 Likes

thank you for trying to help me

Thank you :+1: but you know at first I’m trying to give hint but that’s not help him so,that’s why I’m sending screenshot dire.

   Thank you for reading my comments and give valuable comment 💝. Let's come Together and build a new world that anyone never saw before.

Thank you

Giving the solution at any point is not allowed. Its great that you are helping out, but if people are still having a hard time after your first few attempts at helping then maybe try a different approach, or give them example that may help. Solutions however will be removed.

It would be better if the other stage lock . Anyone can see code by clicking on another stage .so, please lock it gor other’s also making it interesting to solve from other 's

1 Like

They could see the code in another stage, but people are coming on the forum to ask questions and understand. If they ask questions on the forum then the solution will not be provided. Those are the forum rules, if they want to look at the next step then thats their choice but if they come to the forum then the answer will not be given to them. Theres no need to lock the steps

2 Likes

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