Course
summary


    0 chapters available

Loading...

Make your website interactive with JavaScript

Difficulty: Beginner ● Progress: 0 / 0 modules completed

Loops

Loops are one of the essential elements of programming, and as the name suggests, with a loop, it is possible to execute a piece of code multiple times!

Let's imagine we want to count from 0 to 5, and display it; we can do it as follows:

console.log(0);
console.log(1);
console.log(2);
console.log(3);
console.log(4);
console.log(5);
> 0 1 2 3 4 5

You need a free account to read this module