Iam stucked in image tag please help me how to copy the url?

<div id="img-div">
  <img src="https://en.wikipedia.org/wiki/FreeCodeCamp#/media/File:FreeCodeCamp_logo.png"alt="The pic is not available">

Hello there.

Do you have a question?

If so, please edit your post to include it.

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.

Hehe, this is a simple one thankfully.

The link you have is not actually the ‘image link’. You can still scroll down and see things, right? So it’s a page-link (just like if you tried using the link of this very forum post to use as an ‘image’, it wouldn’t work for the same reason).

Best thing to always do is right click and select ‘Copy image address’ (on chrome).

If you do that you will get this link:


instead of:

https://en.wikipedia.org/wiki/ FreeCodeCamp#/media/File:FreeCodeCamp_logo.png”

(I added a space in the below link as is was being ‘shortened’.

Hope that helps :slight_smile:

1 Like

thank you. I tried and tried at last i got the result.

ok. Iam new to freecode camp. I don’t know how to ask a question…

just tell us what you are doing, is it a project or a challenge?
is that your whole code? if that is a project, cna you give the link to your project?
what issue are you having? is there an error message? what does it say? what have you tried to fix it?

1 Like

ok.got it. previously i got that problem .Now there is no issue with that image tag.thanks for asking.

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