Your image should have scr attribute that points to the kitten image

**

<h2>CatPhotoApp</h2>
<main>
<img Scr="https://www.bit.ly/fcc-relaxing-cat"alt="cat relaxing">

  <p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
  <p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>

The failed section states that " Your image should have a src attribute that points to the kitten image."

i am new to this started coding yesterday, any help will be appreciated.

thank you

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img Scr="https://www.bit.ly/fcc-relaxing-cat" alt="cat relaxing">

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
</main>
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS aarch64 13816.82.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.218 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Capitalization is very important!


I’ve edited your post 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 (').

Pay close attention to details when you’re writing code. In this case, “Scr” is not the same thing as “src”.

1 Like

Thank you, i have rectified that but it has not made a difference.

What is your full, updated code?

<img scr="https://www.bit.ly/fcc-relaxing-cat"alt="cat relaxing">

“scr” is not the same as “src”.

Sorted, thank you @ArielLeslie

I’ve edited your post 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 (’).

Thank you for this, i will try and remember that next time

what difference does it make ?

One is correct and one has no meaning in HTML, so it makes all of the difference.

1 Like

2 posts were merged into an existing topic: Your img element should have the class smaller-image. Your image should be 100 pixels wide

Please post your current full code.

1 Like

It looks like you are now referring to the other challenge I just commented on.
If so, then please respond to that post.

Otherwise, posters in this thread will not realize that you are talking about a new challenge and already opened up a new topic.

Thanks!

This doesn’t have anything to do with this topic. I’ll move your post to the other thread.