Learn HTML by Building a Cat Photo App - Step 14

I am unable to put target attribute with value _blank

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

Hello there,

looking at your code, you’re putting the attribute and its value in the wrong place. put in it within the img element.

hello and welcome to fcc forum :slight_smile:

@sulymaan90 no your assumption is not right, attribute and its value is in correct position

what that need is adjustment in anchor tag text:

  • you have here “cat photo” but initially it (text) was given something else

i would recommend restart this step and simply add this “attribute and value” in given “anchor” tag

happy learning :slight_smile:

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