Learn HTML by Building a Cat Photo - Step 14

Can anyone help me? I’m on step 14 and no matter what I do, I can’t seem to figure out what I’m doing wrong. I’m really new to this so I’d appreciate any help.

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
<p>Everyone loves<a href= "https://cdn.freecodecamp.org/curriculum/cat-photo-app/running-cats.jpg"> cute cats </a> online!</p>
      <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>

You’d have to post the code for context.

Refer to step 10 for the anchor element. It has a closing tag and an attribute.
Attributes provide information for the element.

For example, <img src=""> src is the attribute.

For step 14,

  1. Wrap “cute cats” around an anchor element.
  2. Copy-paste the url listed into the attribute of the anchor taught in step 10.

Welcome to the forum @jmn0921

I edited your post so the code correctly formats on the forum.

You have an issue with spacing.

  1. Please add a single space after the word loves
  2. Remove the single space before the word cute
  3. Remove the single space after the word cats

Happy coding

That worked! Thank you!

1 Like