Image Source Code Won't Stick

Tell us what’s happening:

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>
<imgsrc="https://bit.ly/fcc-relaxing-cat alt=" alt="Cute Cat Laughing">
<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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15.

Challenge: Add Images to Your Website

Link to the challenge:

Hello there.

Do you have a question?

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

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

Hello ,

I cannot seem to get my imp src<“Link” alt=“Text”> code to stick.
I currently have <imgsrc=“https://bit.ly/fcc-relaxing-cat alt=” alt=“Cute Cat Laughing”>
Which appears to be incorrect.

Thank you to whoever can help!

I’m not sure what you mean by “stick”, but you are missing a space between “img” and “src” and you also have a random " alt=" inside your src value.

I input the code of: <img src=“https://bit.ly/fcc-relaxing-cat alt=” alt=“Cute Cat Laughing”

And the message I receive is: Your image should have a src attribute that points to the kitten image.

Can you point me to the direction of the right code?

The instructions say:

Now set the src attribute so that it points to the url https://bit.ly/fcc-relaxing-cat

but your src attribute has the value https://bit.ly/fcc-relaxing-cat alt=. That’s not the same.

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