Merge pull request #2548 from joaquinelio/patch-10

typo
This commit is contained in:
Ilya Kantor 2021-03-26 08:05:01 +03:00 committed by GitHub
commit 797c65867b
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 ```js
// onmousemove // onmousemove
// ball has position:absoute // ball has position:absolute
ball.style.left = event.pageX - *!*shiftX*/!* + 'px'; ball.style.left = event.pageX - *!*shiftX*/!* + 'px';
ball.style.top = event.pageY - *!*shiftY*/!* + 'px'; ball.style.top = event.pageY - *!*shiftY*/!* + 'px';
``` ```