Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
how can i solve step 15??.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more <a target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

<!-- User Editable Region -->

<a herf="https://freecatphotoapp.com" target="_blank" > <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."> </a>

<!-- User Editable Region -->

    </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/117.0.0.0 Safari/537.36 AVG/117.0.0.0

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

Link to the challenge:

Hello reyadhacker1!

Try removing the target attribute from the anchor element.

Does this help?

Happy Coding! :slightly_smiling_face:

I tried but still doesn’t work :frowning_face:

https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-html-by-building-a-cat-photo-app/step-15

Hello and welcome to the community!

There is a small typing error in the attribute

should be href. We have all made this same typing error at some time, I would guess.

As stated in the previous post, the target and its attribute should not be included in this step.

Keep up the good progress!

You do have the correct way to code it.

Just the few changes to remove the target attribute and its value from the link, and to change the herf to href, and you should pass on to the next step in your coding journey.

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