course content

Course Content

Introduction to JavaScript

Challenge: Counting RhymeChallenge: Counting Rhyme

Task

Implement a while loop that outputs numbers from 5 to 9 to the console.

The output should be:

Hint
1. Write the condition a <= 9 or a < 10.

2. Put the variable a to the console.log() function.

3. Use the increment to a.

Section 5.

Chapter 3