Arc Racer

FLIGHT PATH GAME

<p>Hello, World!</p>
<script>
  const ball = document.createElement("div");
  document.body.appendChild(ball);
  ball.style.width = "30px";
  ball.style.height = "30px";
  ball.style.background = "blue";
  ball.style.borderRadius = "50%";
  ball.style.position = "absolute";
  ball.style.top = "50px";
  let pos = 0;
  
  setInterval(() => {
    pos += 1;
    ball.style.left = pos + "px";
  }, 20);
</script>