Learn HTML by Building a Cat Photo App - Step 12

Tell us what’s happening:
Describe your issue in detail here.

I’m honestly not sure where I’m going wrong. Maybe I’m just tired or something or I’m not reading the question properly but I’ve finished the legacy course before and I’m just not getting this step right. I’ve looked at other people’s code and they don’t have the same fault as mine does, at least I think not. I’m running on low brain power and I think I need another hint.

Error message:

Test

Sorry, your code does not pass. Don’t give up.

Hint

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>
    <h1>CatPhotoApp</h1>
    <main>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more <a>cat photos.</p>
      <a href="https://freecatphotoapp.com">cat photos</a>
      <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; rv:105.0) Gecko/20100101 Firefox/105.0

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

Link to the challenge:

Anchor tags tell the browser that something is a link. How will the browser understand you if you do not provide the closing tag (so it knows which words to link) and where to link to on the internet? (add an href tag)

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