Learn HTML by Building a Cat Photo App - Step 14

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

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 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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Edg/114.0.1823.43

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

Link to the challenge:

i got stuck here.can someone please help me?

Hi there, can you explain what are you trying to do?

add target attribute with the value “_blank” in opening anchor tag
example

i just didnt get that.i tried every possible way but all of them were unsuccessful

thank you for your response.i wass trying to follow thw instruction add a target attribute with a value _blank.but every possible way i tried it was wrong.can you please help me?

I don’t see you’ve done anything yet… To help you recall, this is how you put an attribute on an element.

// attribute goes on opening tag
<element attribute="value"> </element>

The instruction is telling you to add an attribute target and set the value to _blank. The element they want you to target is the anchor tag or a.

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