Learn HTML by Building a Cat Photo App - Step 8

Tell us what’s happening:
I am still really struggling with section 8?! I’m completely new to coding could somebody show me the correct code. I would be extremely grateful

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

Your mobile information:

Pixel 8a - Android 14 - Android SDK 34

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

Link to the challenge:

Here Can You see something ?

What you have done ?

Just look very closely ?

1 Like

Hi, you didn’t need to create a new topic, your question was already answered in your former topic.
like I said earlier follow this example to create a proper element with an attribute in html.

<elementname attribute="value"></elementname>

In your above code you have two errors, which are: your spelling of src and the placement. In accordance to the example given earlier, you are to input the src attribute (notscr) into your opening image tag, like this:

<img attribute="">

Note: If you notice what I did above :point_up_2:t4: isn’t the same as my first example. That is because the image element doesn’t have a closing tag.
Goodluck!! :hugs: :smiley:

1 Like