Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Describe your issue in detail here.
am trying to add target to my code to make my link appear on anther tab
Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a href= target="_blank""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 6.1; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0

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

Link to the challenge:

fix the href=“” first then place the target element after

hi there, check the attributes of this line.

 <p>Click here to view more <a href= target="_blank""https://freecatphotoapp.com">cat photos</a>.</p>

Please click the reset button because you have made changes that the exercise does not want.

Instead, after resetting the code, go to the spot next to the href attribute and add the target attribute there.
Type the word target then equal sign then the given value in double quotes .

hi there,
the line had not been the solution, it is the failure code .
Nevertheless sorry, spoilering had not been my intention.

i see, I misunderstood the post and thought you were trying to show a solution. I’ve undone the redaction.

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