Learn HTML by Building a Cat Photo App - Step 15

Tell us what’s happening:
" Your anchor (a ) element should link to https://freecatphotoapp.com . You have either omitted the URL or have a typo."
As I understand, this is somehow related to “href” command, but I (probably) did it fine. Help will be very much appreciated, fellow programmers.

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

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

Link to the challenge:

href attribute should be set to a tag and not img tag. Did you see this :point_down:

okay so i see nothing wrong to the code it is suppose to function

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