This video on While Loop in JavaScript will provide you with an introduction to another new iterative control statement present in JavaScript. This video will help you understand the basics of while loop. Through this JavaScript while loop tutorial for beginners’ video, you will understand when and where to use while-loop over for-loop. The difference between the two JavaScript loops(for & while) is also explained in this video.

Below are the points we are going to discuss in this video

  • 00:00:00 Introduction
  • 00:00:48 How is while loop different from for loop?
  • 00:01:17 Program based on while-loop.
  • 00:05:31 When to use while-loop?

Introduction to JavaScript:
JavaScript is a scripting language that is used to create and manage dynamic web pages, basically anything that moves on your screen without requiring you to refresh your browser. It can be anything from animated graphics to an automatically generated Facebook timeline. When most people get interested in web development, they start with good old HTML and CSS. From there, they move on to JavaScript, which makes sense, because, these three elements together form the backbone of web development. HTML is the structure of your page like the headers, the body text, any images you want to include. It basically defines the contents of a web page.
CSS controls how that page looks (it’s what you’ll use to customize fonts, background colors, etc.). JavaScript is the third element. Once you’ve created your structure (HTML) and your aesthetic vibe (CSS), JavaScript makes your site dynamic (automatically updateable).

#javascript

While Loop In JavaScript | JavaScript While Loop Tutorial | JavaScript Loops Explained
2.60 GEEK