Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Step 14 of Learn HTML requires adding a target with the value blank. It gives no instruction on where in the anchor to add that. I’m stuck. Please help!

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; rv:108.0) Gecko/20100101 Firefox/108.0

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

Link to the challenge:

Welcome to our community!

The instruction is: " 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.

In the existing sentence between ‘p’ tags add ‘target’ attribute set to “_blank” value:

<p>Text <a attribute="value" href="url">text</a> text.</p>

‘target’ is an attribute
“_blank” is a value

Thanks! It’s saying to put it at the beginning of the anchor. I put it before the href at first . Then I tried it after the link. When I check the code, it doesn’t work no matter what I do. I Googled it, and Google didn’t help.

It means that you should put the target=“_blank” in the opening ‘a’ tag. The first ‘a’ tag with ‘href’ attribute set to URL is the opening ‘a’ tag.

If it doesn’t work again, try following this instruction:
“Note: Some browser extensions, such as ad-blockers and dark mode extensions can interfere with the tests. If you face issues, we recommend disabling extensions that modify the content or layout of pages, while taking the course.”

It’s still not working. :frowning: I disabled the ad blocker

The hyperlinked part in the sentence looks like this:

<a target="_blank" href="url">

Post your last solution here.

It says “photos”; that part just got cropped off with the snipping tool.

The link text is supposed to be cat photos. You have an extra space character at the end of the text. Also, you are missing a space after the anchor element. The original spacing of words in the sentence should not change.

Pay attention to where you make blank spaces!

<p>Text <a target="_blank" href="https://freecatphotoapp.com">text</a> text.</p>

In step 12 it is shown the different text.