Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
I am trying to complete this lesson, but it says this code is wrong, because “The link’s href value should be https://freecatphotoapp.com . You have either omitted the href value or have a typo.”

Your code so far

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

<!-- User Editable Region -->

      <p>See more <a 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 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

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

Link to the challenge:

1 Like

@ donovaer welcome to the freeCodeCamp forum community!
Your code will pass the tests if you just delete the forward slash at the end of the url.
So instead of “https://freecatphotoapp.com/” write “https://freecatphotoapp.com”.
I think there is an error in the test itself because the instructions clearly say to use the url “https://freecatphotoapp.com/” for the anchor element href but “https://freecatphotoapp.com” solves this challenge.

OMG thank you! That worked!!!

1 Like

You’re welcome! Happy coding!

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