Build a Cat Photo App - Step 15

Tell us what’s happening:

My code has failed. I think my target attribute with the value “_blank” may be in the wrong place, could someone please help me with this. Thanks

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg">cute cats</a> online!</p>

<!-- User Editable Region -->

      <p>See more <a target="_blank" 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/141.0.0.0 Safari/537.36 Edg/141.0.0.0

Challenge Information:

Build a Cat Photo App - Step 15

1 Like

Hello @RochelleTourell !

Great job!

It works on my end!

Please try the following to get it to pass?

Refresh the browser.

Disable any extensions.

Try a different browser.

Reboot the computer as a last effort if none of the above work.

I hope this helps you!

Keep up the great progress.:slightly_smiling_face:

Hi, no problems either here when I run the test (after including the ‘target=”_blank”’). If you want to be safe, you can add it after href, but it seems to work.

You could try and restart the exercise (which you might have already done) :baby_chick:

Good job so far

Thank you. I changed the browser and it worked.

1 Like

Thank you. I did restart it, but nothing happened until I changed the browser.

Well done! Keep up your good progress! :slightly_smiling_face: