Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

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 pictures</a>
         in our gallery.</p>
      <a href="https://freecatphotoapp.com">link to cat pictures</a>
      <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back.">

<!-- User Editable Region -->


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: Learn HTML by Building a Cat Photo App - Step 12

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

See more cat pictures in our gallery.


Sorry, your code does not pass. Hang in there.


The link’s text should be cat photos. You have either omitted the text or have a typo.

Can you place the paragraph back on one line instead of this 3 line split?
Don’t add any extra spaces and double check your link text. It should be what the hint says. Not cat pictures.

thank you . passed
I don’t understand that rule
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.

See more cat photos in our gallery.

I am glad you passed but pls be aware that we don’t like people to post their solutions here (we want to keep the forum for people who need help understanding how to code without adding spoiler solutions that just teach them how to copy and paste).

For step 14, there are many posts here that discuss it if you want to take a look first by searching the forum. You can also look up the target attribute on google as well to see how it is used.

The general explanation is that it is an attribute just like any attribute and so you need to create it inside the anchor opening tag just like you created the href attribute.

If you need more help beyond all of the above suggestions and tips, please create a new post by clicking on the question mark button.


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