📚 › JavaScript: make pages do things
4. Operators
Arithmetic uses + - * / and % (remainder). Comparison uses === for equal and !== for not equal, plus < and >. Use parentheses to choose which calculation happens first.
% helps check even or odd: n % 2 is 0 for even numbers.
Show example
console.log(7 + 3);
console.log((2 + 3) * 4);
console.log(10 % 4);
✍️ Your turn
Print the result of 12 multiplied by 5.