Build a Cat Photo App - Step 37

Keeps saying I have a typo in the links text, but I’m pretty sure I don’t. I changed it to exactly what it told me, but then it said to change it back to what I had before. I can’t move on from this step, and I’m not sure what I need to fix.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <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 target="_blank" href="https://freecatphotoapp.com">cat photos</a> in our gallery.</p>
        <a href="https://freecatphotoapp.com"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>
      </section>
      <section>
        <h2>Cat Lists</h2>
        <h3>Things cats love:</h3>
        <ul>
          <li>catnip</li>
          <li>laser pointers</li>
          <li>lasagna</li>
        </ul>
        <figure>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg" alt="A slice of lasagna on a plate.">
          <figcaption>Cats <em>love</em> lasagna.</figcaption>  
        </figure>
        <h3>Top 3 things cats hate:</h3>
        <ol>
          <li>flea treatment</li>
          <li>thunder</li>
          <li>other cats</li>
        </ol>
        <figure>
          <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/cats.jpg" alt="Five cats looking around a field.">
          <figcaption>Cats <strong>hate</strong> other cats.</figcaption>  
        </figure>
      </section>
    </main>
    <footer>

<!-- User Editable Region -->

      <p> <a href="https://www.freeCodeCamp.org"</a> No Copyright - freeCodeCamp.org </p>

<!-- User Editable Region -->

    </footer>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36

Challenge Information:

Build a Cat Photo App - Step 37

Welcome to the forum :wave:

Have a quick review of how to make a link:
https://www.w3schools.com/html/html_links.asp

When in doubt always do a quick search for an example. Great way to learn.

1 Like

I read through what you linked in your reply and changed the format in mine to match it, but it’s still giving me the message that I have a typo in the link text. It’s saying it should be freeCodeCamp.org, but when I change it to that, it’s telling me to change it back to what I had before.

Please share your updated code

I’m not sure how else to share it. the edges got cut off, but the beginning and end are < p > < /p >

Looking better :+1:

Turn the existing freeCodeCamp.org text into a link

Only the text freeCodeCamp.org should be within the anchor tags.

You can just copy and paste your code into a comment here.

Awesome, thank you. It’s working now.

2 Likes