+ 1

Moving image

Is there any way i can move the given code image, when i took my finger anywhere https://sololearn.com/compiler-playground/Wfcg4f0pz70A/?ref=app

30th Aug 2025, 3:42 PM
Pablo🚀
Pablo🚀 - avatar
4 odpowiedzi
0
use javascript
30th Aug 2025, 3:54 PM
Elnior Loreh
Elnior Loreh - avatar
0
idk much js that why i ask Elnior Loreh
30th Aug 2025, 3:56 PM
Pablo🚀
Pablo🚀 - avatar
0
Okay, look: ... <img id="albert"> ... // js code let img = document.getElementById("id"); img.style.position = "absolute"; img.style.top = 2 + "px"; // or any img.style.left = 58 + "px";
30th Aug 2025, 4:00 PM
Elnior Loreh
Elnior Loreh - avatar
0
not working vro Elnior Loreh
30th Aug 2025, 4:02 PM
Pablo🚀
Pablo🚀 - avatar