How to write path for image within big bracket for javascript? Anyone can say this?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to write path for image within big bracket for javascript? Anyone can say this??

Writing path

22nd Apr 2020, 3:17 PM
Prince Soni
Prince Soni - avatar
2 Answers
0
I am not sure this is the answer you are looking for but I hope it helps // Javascript const image = document.getElementbyId('img'); image.src = "./path";
23rd Apr 2020, 5:48 AM
Abdoul Hakim
Abdoul Hakim - avatar
0
Thanks bro...but I have already solved this problem myself
23rd Apr 2020, 6:33 AM
Prince Soni
Prince Soni - avatar