JavaScript Tutorial

Define JavaScript

JS Arithmetic Exercise

JavaScript Comment

JavaScript Variable

JavaScript Operators

Conditional Statements

Logical Operators

JavaScript Slider

JS Login Form

JS Popup Boxes

JavaScript Loops

JavaScript Arrays

JS Mouse Events

JS Keyboard Events

Styling Elements

External JavaScript

JS Noscript Tag

JS String Functions

JS Math Functions

JS Date Functions

JS Theme Changer

JS Assignment

Page Stats

Visitor: 89

JavaScript Loops

While writing a script, there may be a situation when you need to perform some action over and over again. In such situation, you would need to write loop statements to reduce the number of lines.
Types of Loops:

Exercise 1: Enter Number and Generate its Table

Exercise 2: Enter Age in Select Box using Loop