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>

<!-- User Editable Region -->

      <imgscr="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg">

<!-- User Editable Region -->

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

Your browser information:

User Agent is: Mozilla/5.0 (iPhone; CPU iPhone OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Mobile/15E148 Safari/604.1

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

Link to the challenge:

** hello! I am learning to code in lesson 8 and it keeps telling me my img scr is wrong however i have done it exactly as the example says :slight_smile: and when I add a space between img and scr it makes scr red and also tells me its wrong

Mod edit: solution redacted 

if you have corrected the mistake , but you still get an error message, I have found that clicking the reset button and typing the code in that step all over again fixes the problem. Sometimes the system doesn’t recognize when you have corrected a mistake.

Hi @cody.ramsdell ,
There is NO attribute called scr. The valid one is src.
Just remember src for “source”. So we have an image tag, and the real image is coming from the given source…:slightly_smiling_face:

1 Like

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.

1 Like

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