Issue with pencode.io loading images unable to see

when i try to code always the image is not loading after i insert img src with a link the img is not loading it is showing only caption image!

Hey, can you open the src URL in your browser and see if it’s working? You get alt when the image fails to load.

Edit: Also please share link to codepen for better understanding.

dont know but in my img src any img is not loading see my post i shared my problem just before

Please share link to the codepen, so I can fiddle with the code and see, it’s hard to tell from an image.

Also before that, can you please format it properly and see? It could be because of poor formatting as well.

https://codepen.io/freeCodeCamp/pen/MJjpwO it is the link and u try to add any img src and see to me img is not loading

Let me check, thanks.

Hey, I can’t seem to be able to see your code in the codepen link you shared, can you please check and send proper one, please?

Fork it and share link please, I’m getting freeCodeCamp template.

https://codepen.io/sai-harshith-manikonda/pen/mdroove

The problem seems to be the link you are using for the source, please use this – https://source.unsplash.com/random, it will give a random image from Unsplash.

bro but i inserted ice cream image link

I don’t think you can insert google search link as src, please search for image from https://unsplash.com/, open image, right click and select ‘copy image location’

tq brp now its working

Welcome :grinning_face_with_smiling_eyes:

bro other problem When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page. how should it be worked bro once write in ur code pen then fork nd send me bro im in stuck of my process since 3 days

Hello there,

Just about your original code: The reason no image appeared is the link you provided is not to an image, but to a google search. Typically, image URLs end in .jpg/.png

Hope this clarifies

1 Like

You should review this lesson