It keeps saying I haven't added a src attribute

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<img src="https://bit.ly/fcc-relaxing-cat"alt="A business cat wearing a necktie.">
<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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36

Challenge: Add Images to Your Website

Link to the challenge:

Part of being a developer is paying close attention to detail. This is the error message.

Your image should have a src attribute that points to the kitten image.

It is not saying that you did not add a image, it is saying that you did not add the image. The description tells you what url to use. You did not use that url.

When I fix that, your code passes for me.

1 Like

ahh I originally used the example image but didn’t notice it was different from what the one in the description. Thank you!

1 Like

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


I’m not sure where you got this url, but it isn’t the one the instructions asked you to use.

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