Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:
Describe your issue in detail here.
it is not working

Your code so far

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
      <img scr=" https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">
    </main>
  </body>
</html>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.42

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

Link to the challenge:

Make sure you use the correct spelling src
Also don’t add extra spaces unless specifically asks to.

done but still not working

Make sure there are no spaces inside the quotes for the src.

If you are still stuck, post your newest code here.

<html>
  <body>
    <main>
      <h1>CatPhotoApp</h1>
      <h2>Cat Photos</h2>
      <!-- TODO: Add link to cat photos -->
      <p>Click here to view more cat photos.</p>
      <img scr="https://cdn.freecodecamp.org/curriculum/cat-photo-
app/relaxing-cat.jpg">
    </main>
  </body>
</html>

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

you have typo here. It should be src not scr

dat is my present code
still not working

ok I’ll check it now and I’ll come back to you

working now… thanks …i made a mistake by using scr instead of src :rofl:

1 Like

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