0

How to insert images the right way??

I inserted images according to the lesson. Using the img tag and the src attribute and URL and the quotes but when I run the code it appears like an error!! https://sololearn.com/compiler-playground/WMmzqf22WK4N/?ref=app

4th Dec 2023, 1:28 PM
Elina
Elina - avatar
5 ответов
+ 3
Dear Elina, The problem is that you haven't copied the image link. You've actually copied the google link that views the image! Instead, try openning the site, finding the image, and then copy the URL by long pressing on it.
4th Dec 2023, 8:42 PM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar
+ 5
https://code.sololearn.com/W3tFJ1g5TcWk/ You need to copy the link for the image. Check if the links take you directly to a full-size picture with nothing else but the image on the page. To make the code work I copy pasted your url to a browser and clicked on "full-size image" on mobile or right clicked to find "copy image link" on desktop and used that as src for the img tag
4th Dec 2023, 2:11 PM
Mohammed shoaib
+ 3
Hi Elina, your image links dont look right. Double check the paths to the images you want to display
4th Dec 2023, 1:46 PM
StuartH
StuartH - avatar
4th Dec 2023, 8:45 PM
Elina
Elina - avatar
+ 1
Welcome Elina 🙂 Any other questions? Here to help you!
4th Dec 2023, 8:47 PM
🇮🇱 Radin Masiha 🇮🇱
🇮🇱 Radin Masiha 🇮🇱 - avatar