Learn HTML by Building a Cat Photo App - Step 13

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

  **Your code so far**
<html>
<body>
  <h1>CatPhotoApp</h1>
  <main>
    <h2>Cat Photos</h2>
    <!-- TODO: Add link to cat photos -->
    <p>Click here to view more <a_blackhref="https://freecatphotoapp.com">cat photos</a>.</p>
    <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/104.0.0.0 Safari/537.36

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

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

1 Like

Yes I need to ask about how do I add a target attribute with the value _blank to the anchor (a ) , because I stuck at this step from yesterday keep trying to add it but still faild.
thanks in advance

You add a target attribute just like you added the src, alt, and href attributes. Those are set equal (=) to different values. For the target you need the value “_blank”

Here is you broke this syntax by squishing everything together without spaces.

2 Likes

thank you very much, I just passed the step

2 Likes

thanks , Itried many times but it seems at the end that I make a tybo mistake :sweat_smile: