Skip main navigation

Logical operators

Whenever you want to check two conditions in one, or you need to negate a condition, the logical operators come in handy. You can use and, or, and not. And …

for loops

for loops are special loops. The syntax might be a little bit confusing at first, but you will find yourself using them soon, because they are very useful. Here is …

if and if else statements

We can make decisions in our code using if and if else statements. It is very much like this template: if *some condition is true*, then *a certain action will …

Setting up your environment

There are many ways in which you can set up a JavaScript coding environment. For starters, your computer probably already has all the minimal things you will need to code …