Learn HTML by Building a Cat Photo App - Step 14

Tell us what’s happening:

Good day, It appears that my anchor element is “cute cats” because I see it highlighted blue on the right hand side of the screen, however, I keep getting an error message. I need assistance with what needs to be changed.

Your code so far

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

<!-- User Editable Region -->

      <p>Everyone loves <a href="https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg."> cute cats</a> online!</p>      

<!-- User Editable Region -->

      <p>See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
      <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/605.1.15 (KHTML, like Gecko) Version/18.1.1 Safari/605.1.15

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 14

The text in here needs to match the requested text down to the exact number and placement of spaces.

please elaborate, should I make a space between cats and the closing anchor? or should I close the opening space where “cute” appears?

What exact text did the instructions ask you to wrap? Where are all the spaces in the exact text from the instructions?

Delete the dot after jpg here : cat.jpg."

1 Like

The error is the href attribute of the new anchor element should be https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg .

I was stuck on this for more than an hour. Thank you so much Paulo!

1 Like

It’s better to say where the problem is than to solve the step for the learner

Whenever I see this, I look at what is inside the code formatting wise outside to make sure I didn’t accidentally add any extra characters

I understand that. I know she didn’t type that point, but accidentally copied it. I’m sure she’ll pay more attention from now .