Fundamentals of
JavaScript

Totally free education on the Internet

About FAQ Tell a Friend Comments  Course Home Page    IT Learning Center

IT_coverSm08.jpg (19982 bytes)

About this Course

This is an introductory course that is mainly intended for serious computer hobbyists, IT students, and IT professionals. The free online textbook for this course is Sams Teach Yourself JavaScript in 24 Hours, Third Edition. You should begin by reading the complete Introduction to the book.

offiste01.jpg (430 bytes) Indicates links that take you away from the Free-Ed.Net site. Use the links on these offsite pages carefully, and use the Back function on your browser to return to these assignments.

Helpful References

offiste01.jpg (430 bytes) Glossary

offiste01.jpg (430 bytes) JavaScript Quick Reference

DOM Quick Reference

 

Lesson 7. Repeating Yourself: Using Loops

In this lesson you will learn about:

  • Performing repeated statements with the for loop
  • Using while for a different type of loop
  • Using do...while loops
  • Creating infinite loops (and why you shouldn't)
  • Escaping from a loop
  • Continuing a loop
  • Using for...in to loop through an array

Reading Assignments

Read the following sections from your free online textbook:

offiste01.jpg (430 bytes) Using for Loops
offiste01.jpg (430 bytes) Using while Loops
offiste01.jpg (430 bytes) Using do...while Loops
offiste01.jpg (430 bytes) Working with Loops
offiste01.jpg (430 bytes) Using for...in loops
 

Learning Activities

  1. Use this search box to refine and expand your understanding of new terms and concepts in the reading assignments.

Custom Search
  1. offiste01.jpg (430 bytes) Visit the hands-on Workshop: Working with Arrays and Loops.
  2. offiste01.jpg (430 bytes) Review the lesson Summary.
  3. Test your understanding with the following items:
offiste01.jpg (430 bytes) Q&A
offiste01.jpg (430 bytes) Quiz
offiste01.jpg (430 bytes) Exercises


Web design and curriculum: David L. Heiserman

Copyright 2005 SweetHaven Publishing Services
All Rights Reserved

Most recent revision: March 20, 2014