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.
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
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
You should review this lesson
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.