Learn HTML by Building a Cat Photo App - Step 15

I really dont see anything wrong with this code.
Anchor is in place, the href is appropriate, please help me out.

<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 href:"https://freecatphotoapp.com/"> <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/114.0.0.0 Safari/537.36

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

Link to the challenge:

Is this how you have given attributes a value for all the other attributes you have added up to this point?

P.S. The tests aren’t going to like that you added a forwards slash to the end of the URL. If the instructions didn’t ask you to add that forward slash then you shouldn’t add it. You, and the tests, will be much happier if you only add exactly what the instructions ask you to add and no more.

This was from my fifth attempt to change and adjust everything.
I just deleted the forward slash and its still a no go.

That wasn’t the only problem. Did you read my first question?

Im lost.
Should I be adding a target?

Hi!
The only suggestion that I can make is to look at the href in the p element above this code, and see the difference between it and the one in the code. If you can fix that small issue, along with the fact the forward slash was removed, I think the code should pass for you.
happy coding!

No, you don’t want to add a target attribute.

“Use https://freecatphotoapp.com as the anchor’s href attribute value.”

That’s all you want to add to the anchor element. Again, look at how you did it for the link you created with the words cat photos in the p element.

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