Learn HTML by Building a Cat Photo App - Step 22

Tell us what’s happening:
Describe your issue in detail here.
I don’t know why but is says that this code is wrong even tho i checked 4 times and at me is semes correct

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <section>
        <h2>Cat Photos</h2>
        <!-- TODO: Add link to cat photos -->
        <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>cat nip</li>
          <li>laser pointers</li>
          <li>lasagna</li>
        </ul>
        <img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.png" alt="a slice of lasagna on a plate.">
      </section>
    </main>
  </body>
</html>

Your mobile information:

SM-A307FN - Android 11 - Android SDK 30

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

Link to the challenge:

The first letter is capitalized.

2 Likes

I tried putting the first letter on capitalised but is still outputs the error
“The new image should have an src value of https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg. Make sure the src attribute’s value is surrounded with quotation marks”

Hello.

Check your code. Te image is a jpg. You wrote png

Grets.

Ty in the end it was part of the problem.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.