This commit is contained in:
joaquinelio 2021-03-25 18:07:22 -03:00 committed by GitHub
parent 33f8b4c4de
commit 3264c4bccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,7 +124,7 @@ Let's update our algorithm:
```js
// onmousemove
// ball has position:absoute
// ball has position:absolute
ball.style.left = event.pageX - *!*shiftX*/!* + 'px';
ball.style.top = event.pageY - *!*shiftY*/!* + 'px';
```