course content

Course Content

Introduction to JavaScript

Challenge: TigersChallenge: Tigers

Task

Implement a for loop that outputs the "Tiger" word 5 times.

The output should be:

Hint
1. Assign the value "Tiger" to the variable tiger.

2. Use the for keyword.

3. Initialize the i counter.

4. The counter i should be changed in interval 0 to 4 (5 loop iterations: 0, 1, 2, 3, 4).

5. Add the increment operation (++) for the i counter.

6. Put the tiger variable to the console.log() function.

Section 5.

Chapter 5