mirror of
https://github.com/microsoft/Web-Dev-For-Beginners.git
synced 2025-08-16 03:34:48 +02:00
Merge pull request #1033 from SmashedFrenzy16/patch-3
Update README.md with code formatting
This commit is contained in:
@@ -116,7 +116,7 @@ In addition, the terrariumElement that is passed to this function is assigned a
|
||||
|
||||
## The Pointerdrag function
|
||||
|
||||
The terrariumElement is ready to be dragged around; when the `onpointerdown` event is fired, the function pointerDrag is invoked. Add that function right under this line: `terrariumElement.onpointerdown = pointerDrag;`:
|
||||
The `terrariumElement` is ready to be dragged around; when the `onpointerdown` event is fired, the function `pointerDrag` is invoked. Add that function right under this line: `terrariumElement.onpointerdown = pointerDrag;`:
|
||||
|
||||
### Task
|
||||
|
||||
|
Reference in New Issue
Block a user