New course! Every coder should learn Generative AI!
Try a free lesson+ 2
How can do s.th that the left , top , bottom and right add 5 by 5 not 1 by 1
2 Answers
+ 5
var x = document.getElementById("p");
function a(){
count = count - 5
x.style.left = count + "px";
}
+ 1
Thanks