Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Describe your issue in detail here. where is the value of an anchor

Your code so far

      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href="https://freecatphotoappcom"> _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.">

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 14

Link to the challenge:

This is an opening anchor tag.

Notice it has an href attribute.

The exercise wants you to add a target attribute here too.

Just like href but called target.

The target attribute will have a value (just like href has a value)

The target’s value will be _blank

This will tell the browser to open the link in the same tab (instead of a new tab or even a new window)

So please click on Restart Step to reset the code and add your target attribute to the anchor tag.

1 Like

thank you i was stuck for so long great explanation

1 Like

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