Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:
Describe your issue in detail here.

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>
      <img>
    </main>
  </body>
</html>
<img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/-cat.jpg">

Where is the arror in this img scr statement

Your mobile information:

TECNO KE5 - Android 10 - Android SDK 29

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

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hi! Here’s the problem, put the correct image path and you will pass the task

Hi,I think u need to add the src attribute inside the html,seems you have given outside the html block :slight_smile:

1 Like

Hi, I’m facing a similar issue on Step 8, but everyone’s mentioning alt but that topic hasnt been reached yet. Heres a screen-shot, let m know if you can help.

The photo of the cat is appearing but not passing the test.

This is the rest of the code:

CatPhotoApp

Cat Photos

See more cat photos in our gallery.

Also there are no other img elements in the code.

Thanks.

Hi! You have

http

in the image path, https is needed

1 Like

Right, thank you very much sir.

1 Like

hey @Z_B_XQ , please open your own topic to ask for help

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

Alright sir/ma’am, will do.

Thank you.

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