Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:

Code so far:

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

Challenge: Learn HTML by Building a cat Photo App - Step 8
I keep getting error that my code does not pass. It is said that my img element should have a scr attribute, that I have either omitted the attribute or have a typo.

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>See more cat photos in our gallery.</p>

<!-- User Editable Region -->

<img src="https://cnd.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg"> 

<!-- User Editable Region -->

    </main>
  </body>
</html>

Your browser information:

User Agent is: Boibee (Window Specifics: edition window - 10 pro, version - 22H2, OS build - 19045.4412: Processor - Intel (R) core ™ i7-66004, CPU@2.60

Challenge Information:

Learn HTML by Building a Cat Photo App - Step 8

you have a typo as the hint said.
The url is starting with https://cdn
not https://cnd

1 Like

You’re right.
Thanks a lot.

1 Like