Basics: Let's start with arithmetic operators

Join the AI Workshop to learn more about AI and how it can be applied to web development. Next cohort February 1st, 2026

The AI-first Web Development BOOTCAMP cohort starts February 24th, 2026. 10 weeks of intensive training and hands-on projects.


In this first introduction to operators, we’ll introduce the operators you are most likely familiar with: arithmetic operators with two operands. Those operators assume the operands are both numbers.

+ performs an arithmetic sum:

 1 + 2 //3

Then we have the subtraction operator (-)

4 - 2 //2

The multiplication operator *:

4 * 2 //8

The division operator /:

4 / 2 //2

And the remainder operator:

4 % 2 //0

Lessons in this unit:

0: Introduction
1: Literals, identifiers and variables
2: Comments
3: The difference between let, const and var
4: Types
5: Operators and expressions
6: ▶︎ Let's start with arithmetic operators
7: The assignment operator
8: Operators precedence
9: Strings
10: Numbers
11: Semicolons, white space and sensitivity