Learn HTML by Building a Cat Photo App - Step 12

It keeps saying my code is wrong and I’ve been resetting and redoing it for nearly an hour. What on earth is wrong with my code? I don’t get it… Please help, thanks!

Your code so far

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

        <p>See more <a href="https://freecatphotoapp.com">cat photos<a/> in our gallery.</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>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 12

Welcome to the forum @joshbailey

Place the back slash in the closing anchor tag before the tag name.

Happy coding

1 Like

Hello @joshbailey and welcome to the forum!.
One hour? That’s not bad. Contrary to popular believe, coding is hard and it takes time and effort. I am glad you came and asked for help, though, everything is part of the learning process.

1 Like

Did I not already do that? Which line of code do you mean?

Instead of:

<p>See more <a href="https://freecatphotoapp.com">cat photos<a/> in our gallery.</p>

change to:

<p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>

The paragraph element.

Um what is different? Am I blind?

The closing anchor <a/> need to be </a>

Hi @anon28508191

Thanks for helping out. Not sure if you are aware, but the moderators do not like full solutions posted to the forum.

OH! I see hahah, thankyou

Thank you for the note @Teller but I do not interpret that as full solution, I am just coping and pasting and pointing to the misspelling.

1 Like

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