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
So basically I’m stuck…I’m just not understanding why the error message is telling me that href value should be “https://freecatphotoapp.com” when that is the value I have. So what am I missing or doing wrong? Please help!

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

<!-- User Editable Region -->

      <p>See more <a><ahref="https://freecatphotoapp.com"> cat photos</a> in our gallery.</p>
      <ahref="https://freecatphotoapp.com">link to cat pictures</a>

<!-- 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_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

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

Link to the challenge:

Why have you added the opening a tag twice ?
Also there should be a space between a and href.

i’m not seeing where I have it twice, this step is asking me to make the words in the middle of a phrase a clickable link and the text underneath is for another link. Also i’ve only been at this for two days so I could be misunderstanding you. As for the space when I put the space I hit control+enter and it is still wrong :frowning: it also turns a bright red indicating to me that, that it is wrong? Again, still super new at this so any help is appreciated. Thanks!

Look at this.
<a> This is the first opening anchor tag
<a href="https://freecatphotoapp.com"> This is the second opening tag
You can remove the first one as it is not required.

I kept getting a message telling me I had spelled “cat photos” wrong but after just deleting it and retyping and also deleting the first opening tag it passed. Thank you for your help :slight_smile:

1 Like