I need help finding the correct src url for HTML img challenge

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

  **Your code so far**

<h2>CatPhotoApp</h2>
<main>


<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>
<img src="file:///D:/images/your-image.jpg"alt="A business cat wearing a necktie.">
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36

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.

Learning to describe problems 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.


This url is not correct.

please tell me what mistake i have done in coding . the image url show not correct

[quote=“JeremyLT, post:2, topic:485892, full:true”]

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 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.


This url is not correct.

please tell me mistake in the image url

The instructions say

Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

<imgsrc="file:///D:/images/your-image.jpg"alt="A business cat wearing a necktie.">this is the actual url which i have confused that i have mistake.

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

Requested url:

https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Your url:

file:///D:/images/your-image.jpg

Do you see the difference between the two?

sir when i complete all the coding and click to run the test . the one thing I am not capable to understand i.e Your image should have a src attribute that points to the kitten image.. can please clearify what this say actually that.

<img src="file:///D:/images/your-image.jpg"alt="A business cat wearing a necktie. this a coding

I am very explicitly explaining…

Look at your img tag.

Your img tag has a bad url for its src attribute.

Your url is:

The required url is:

Now set the src attribute so that it points to the url https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

Specifically:

https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

You must change your bad url (file:///D:/images/your-image.jpg) to be the required url (https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg).

but sir in the running test they give me url. ```
<img src=“https://www.freecatphotoapp.com/your-image.jpg” alt=“A business cat wearing a necktie.”

In the instructions printed on your screen that I keep quoting, you are told what url to use

You can’t just copy-paste the example code and jam in a random url to some place on your harddrive and expect it to work. You need to read all of the instructions.

sir please tell me what url should be use

It is here in this picture

and I quoted the correct url here

and here

and here

I’m really not sure how I could be any clearer about what the required url is.

i just do the the thing and please tell me what next step I do.

You replace your incorrect url:

with the correct url:

https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg

So, delete the wrong url and paste in the correct url instead.

sir please tell me where to use "src "and “alt” in the correct url .

I don’t think you are actually reading what I am typing?

You need to use the url: https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg for your src attribute. You can use any value for the alt that you want.

I am not going to type the answer out for you to copy. All you need to do is take the correct url that I provided above and put it in your src attribute in place of your bad url.

sir, I do all the instruction you said me but result always be wrong. I am really not understand what its mistake

What is your updated code?