Add-images-to-your-website

Tell us what’s happening:

Help!!!
I am stuck on the SRC tag

Your code so far



<h2>CatPhotoApp</h2>
<main>
<img src="https://www.bit.ly/fcc-relaxing-cat" alt="fcc-relaxing-cat.">
<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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36.

Challenge: Add Images to Your Website

Link to the challenge:

What does the failing test say?

Hi!!!

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

Double check that your url is exactly correct. I suggest copy-pasting instead of typing the url.

1 Like

I have the same challenge
// running tests Your image should have a

src

attribute that points to the kitten image. // tests completed

It’s not allowing me to paste.

I am getting frustrated now

You can paste.
Ctrl-V will paste into the editor.

2 Likes

Thanks. Will try that now

It has finally worked!!!

Thank you very much. You’re a life-saver

I’m glad you got it to work. Happy coding!

1 Like

@ArielLeslie has helped solve the problem. Hope it works for you too

I am using android to do it ,but how to // running tests Your image should have a

src

attribute that points to the kitten image. // tests completed

// running tests Your image should have a

src

attribute that points to the kitten image. // tests completed

I don’t know why you keep repeating that. Do you have a question?

Yes I have a question ,my assignment is not completed
This is the complain:

The existing input element should be nested within a form element.

No one can help you with your code unless you share it with us.

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 (’).

Thanks help me out I was stuck