Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix markdown typo #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions exercises/19 - Webcam Fun/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ The last function we'll want to create is one that will bring functionality to t
const paintToCanvas = () => { /* ... */};
```

- In the body of this function, declare two `const` variables and define them
- In the body of this function, declare two `const` variables and define them
as the `video` element's width and height, and update the `canvas` width and height
to reflect those values.

```JavaScript
```JavaScript
const paintToCanavas = () => {
const width = video.videoWidth;
const height = video.videoHeight;
Expand All @@ -118,7 +118,7 @@ The last function we'll want to create is one that will bring functionality to t

/* More to do... */
};
```
```

- Still in the body of the function, return the _interval ID_ of a `setInterval()`
function call, and within the body of that function call, draw the current `video`
Expand Down