Having problem in adding image to website


What to do? Anyone tell me plzz…

HI @niharika_29!

Welcome to the forum!

When you have questions about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

It looks like you deleted everything on the page and just have the img tag. So I would reset the lesson and place the image tag in the main tags like the lesson says.

Hope that helps!

I’m pretty sure one big issue you have is that you are missing all the rest of the code

hey! can you tell me how to add imgs because i am new to freecodecamp

Hi @Rehman_Ansar!

Welcome to the forum!

It would help to see your code.

Edit: nevermind you already created a separate post so I will reply there.

Anybody tell me what happening now…


Last time somebody said that “It looks like you deleted everything on the page and just have the img tag.”
I’ve done that also…but it is still stuck at Your image should have a

src

attribute that points to the kitten image.
Tell me plz…

I moved your post here.

Please do not create duplicate topics.

Why did you change the src url?
The first one was correct

Also, please use the ask for help button for coding challenges. It is much easier to help you than screenshots.

Okk wait…I’m changing the url.

Yeah the url you had before was fine.

Your issue was that you had deleted everything else.

If you go back to the previous url it should work

Hey…!!@jwilkins.oboe
I changed the url…but it doesn’t work.

Can we see your updated code?

Can you write it in the forum here?

Also, it might be because you have an extra " at the end of your img tag.

But is would be best to see your code to be sure.


Now tell me what happening…@jwilkins.oboe(sorry for the screenshot)

Oh i see.

It is a small error but you have a period instead of a colon after https

I would just copy the url from the lesson exactly to avoid typos.

Correct url
https://bit.ly/fcc-relaxing-cat

Ok…thank you so much…for telling me that much and now it worked.
Thank you @jwilkins.oboe

Hi Niharika,

Aapne http ka aage jo dot use ki wo galat hai… usko single dot se : colun krlo…

hope aap smjh gyi hogi… thanks