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

docs: typo and missing ` #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/tutorial/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ <h2 id="8-next-steps">8. Next steps</h2>

<p><code>Math.random()</code> returns a number greater than or equal to 0, and
less than 1. We multiply this by 24, to give us a number greater than or
equal to 0, and less that 24. This number can inclued a fraction, so we
equal to 0, and less that 24. This number can include a fraction, so we
use <code>Math.floor</code> to remove it. This gives us an integer in the range 0 to
23 (inclusive).</p>
<a class="footnote-return" href="#fnref:1"><sup>[return]</sup></a></li>
Expand Down
4 changes: 2 additions & 2 deletions website/content/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ function update(game) {

// ...

game.setText(Score: ${score}`)
game.setText(`Score: ${score}`)
}
```

Expand Down Expand Up @@ -277,6 +277,6 @@ ideas for things to do:

`Math.random()` returns a number greater than or equal to 0, and
less than 1. We multiply this by 24, to give us a number greater than or
equal to 0, and less that 24. This number can inclued a fraction, so we
equal to 0, and less that 24. This number can include a fraction, so we
use `Math.floor` to remove it. This gives us an integer in the range 0 to
23 (inclusive).