How to alert an image??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to alert an image???

I am making a code and need to alert an image in the code. I find the solution everywhere but I don't find it. So, plz help me sololearner...

15th Jul 2019, 3:15 PM
Kashyap Kumar
Kashyap Kumar - avatar
1 Answer
+ 4
You can only output text with alert. If you really need to do it, you need to make your own popup box that can allow images.
15th Jul 2019, 3:22 PM
Airree
Airree - avatar