Learn HTML by Building a Cat Photo App - Step 12

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

Your code so far

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

<!-- User Editable Region -->

    <p><a> 
      href = "https://freecatphotoapp.com">
    </a>
    </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/111.0.0.0 Safari/537.36

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

Link to the challenge:

Am I too stupid? I changed href and website name. But reminder still ask me that I need to change the href and website name.

The instruction: " In the text of your p element, turn the words cat photos into a link to https://freecatphotoapp.com by adding opening and closing anchor (a ) tags around these words."

Restart step.

In the existing sentence between ‘p’ tags, surround only the words “cat photos” with anchor tags.

no your not stupid.
Your just learning something no one has told you yet :smiley:

the href is an attribute. attributes go inside the opening tag of elements

<a href="value"></a>

1 Like