Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

where do i place the _blank target attribute, it says place to the anchor (a) elements opening tag but it doesnt seem to work

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- User Editable Region -->

      <p>See more <a 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.">

Your browser information:

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

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

Hi there! Here’s a guide you may find helpful:

add target attribute inside the opening tag and set it to “_blank”


thank you so much this was so helpful

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.

1 Like

Some of us need to see a working solution. I’m stuck on this lesson too. The text does a horrible job of explaining what to do with no generic examples of how to accomplish what it wants. I’ll never stumble upon the correct answer to the extremely vague wording of this particular lesson. The console hint says the same exact thing no matter what I do, so that is zero help to me.

For me to learn, I need to see what it looks like in order to understand how to do it. I am a visual learner. Reading text does little to help me. I have to see it in order to comprehend it. Once I see something once or twice, I’m good. Stumbling around and guessing is just going to frustrate me to the point of giving up on it.

I get that, and appreciate it. Here’s a generic syntax:

 <a href="https://www.w3schools.com" target="_blank">Visit W3Schools</a> 

I searched and found it here:

If you have any further questions please open a new topic, thanks!