Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:
Describe your issue in detail here.

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 target_blank='https://freecatphotoapp.com' target=blank > 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>
      <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; rv:107.0) Gecko/20100101 Firefox/107.0

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

Link to the challenge:

:balloon: Hi, welcome to the forum!
We see you have posted some code but did you have a question?

Thank you! Can u please help me out with this code. I have just started learning coding and im stuck on this lesson 14.

Try to reset the code first (the button for reset looks like an arrow) and this will return the code back to normal (you seem to have made a lot of changes to it).

After reset, you need to add a target attribute next to the href attribute.

So just type out the word target near the href attribute and make it look the same as the href but instead of the website link being the value, the target attribute’s value is “_blank””

Thank You!
It worked.

1 Like

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