Code Editor

Learn

Don't worry, math does not need to be your strong-suit to learn JavaScript. There are just a few operations we'll need to know to make some awesome programs later in the course!).

JavaScript includes the general math *operators* that you can find on a calculator:

- Add:
`+`

- Subtract:
`-`

- Multiply:
`*`

- Divide:
`/`

These all work how you might guess: `3 + 4`

will equal `7`

, `50 / 10`

will equal `5`

.

Let's use each one of these math operators.

Report a Bug

If you see a bug or any other issue with this page, please report it here.

Learn

Report a Bug

Learn

Report a Bug