+ 2
changing image with js
https://code.sololearn.com/W0w3gl9vhx26/?ref=app Instead of logging "that girl ain me" when I click the button I wanna change the picture with another one
2 ответов
+ 2
With js you can use id in img tag and change src value with document getElementById("imgid").src = "new source link url". Here i try your code.https://code.sololearn.com/WdsFc3R5Juo7/?ref=app
+ 1
thx