JavaScript While Loop

ofrecido por
Coursera Project Network
En este proyecto guiado, tú:

Explain the advantages of repetition programming.

Write JavaScript code that includes a working While Loop.

Conduct testing to ensure that a JavaScript While Loop solves a logic problem.

Clock2 hours
IntermediateIntermedio
CloudNo se necesita descarga
VideoVideo de pantalla dividida
Comment DotsInglés (English)
LaptopSolo escritorio

In this intermediate-level project you will examine the concept of repetition programming – also called “looping." Using the Notepad++ editor and JavaScript embedded in HTML, you will write the JavaScript code to repeat a block of program code while a particular condition is true. As you work with the While Loop you’ll begin to realize why repetition programming is one of the most important features of computing. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Habilidades que desarrollarás

  • Do/While Loop
  • JavaScript Loop
  • looping
  • While Loop
  • Repetition Programming

Aprende paso a paso

En un video que se reproduce en una pantalla dividida con tu área de trabajo, tu instructor te guiará en cada paso:

  1. Examine the concept of repetition programming and describe its advantages.

  2. Experience the looping process by running a program that repeats a process.

  3. Use Notepad++ to write JavaScript code that contains a While Loop, and test the code in Chrome.

  4. Examine and test JavaScript code that includes an example of a Do/While loop.

  5. Examine a problem solution using an IF-Else statement and compare it to the Switch statement that solves the same problem.

Cómo funcionan los proyectos guiados

Tu espacio de trabajo es un escritorio virtual directamente en tu navegador, no requiere descarga.

En un video de pantalla dividida, tu instructor te guía paso a paso

Preguntas Frecuentes

Preguntas Frecuentes

¿Tienes más preguntas? Visita el Centro de Ayuda al Alumno.