+ 2

How can do s.th that the left , top , bottom and right add 5 by 5 not 1 by 1

https://code.sololearn.com/WRFvSVNIY0jG/?ref=app

21st Mar 2018, 5:27 PM
Sina
Sina - avatar
2 odpowiedzi
+ 5
var x = document.getElementById("p"); function a(){ count = count - 5 x.style.left = count + "px"; }
21st Mar 2018, 5:34 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
Thanks
21st Mar 2018, 5:38 PM
Sina
Sina - avatar