js style left posi code example
Example 1: change the position of div using javascript
document.getElementById('carRight').style.left="600px";
Example 2: javascript move element position
var moveX = 10
const x {
if not == (obj==null) {
atrr.x = x.element //enter in the variable of your element inside "element"
atrr.x = x.element + moveX }
}