Learn HTML by Building a Cat Photo App - Step 14

What’s happenig is that in Step no. 14 I am not able to add the target attribute to the anchor element nested in the p element. I have been following the hint so far to do this but that has not been helpful in completing the task. Kindly guide me by sending a written code for the same.
Regards.

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/113.0.0.0 Safari/537.36

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

Link to the challenge:

You can add multiple attributes to a single tag by separating them with spaces.
The syntax should be attribute="value". In this case the attribute is target and the value is "_blank".

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