Learn HTML by Building a Cat Photo App - Step 14

Can someone help I dont know where I went wrong here

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->

<!-- 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/118.0.0.0 Safari/537.36

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

Link to the challenge:

Hello, perhaps the target attribute may be in the wrong spot, try adding it after the href attribute instead of in front. Hope this helps🙂

2 Likes

That might be the case, I also see href opens with double-quote and closes with a single-quote. They have to be the same!

4 Likes

I don’t think the order of the attributes really matter, I think its just for readability.

3 Likes

Hello @sam14 ! Nice to see you back in the community!

@DanielHuebschmann has provided good guidance for the problem that I noticed, too.
Quotes need to have the same beginning and ending to be effective.

It is an error, I am sure we have all committed more than once during our coding experiences.

Keep up the good progress!