Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Been stuck here for a while and getting a little frustrated because I don’t know how to move forward.

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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.3 Safari/605.1.15

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

Link to the challenge:

2

You’re close. You added the _blank value, but you didn’t include the “target” attribute. Don’t forget to include quotes around the _blank value.

Hi @maiaf_w ,
Just add target attribute into anchor tag & give it the value _blank. You are almost close!
We need to place BOTH attribute and value.

1 Like


I tried that it still isnt working…

I fixed it it. I had to literally type in the word “target”

target=“_blank”

1 Like

Add

target=“_blank”

Just after the href link and you’re good to go

Erase the first _blank before the href attribute

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