JavaScript FOR, DO--WHILE, and WHILE loops
Not what you're looking for?
I need to know how to write a program that counts from 1 to 10 and prints each count to the browser using each of the 3 different kinds of loops in JavaScript (FOR, DO--WHILE, and WHILE).
I also need to create a separate page that counts down from 10 to 1.
I am so confused!
Purchase this Solution
Solution Summary
Working HTML file with Javascript with the Javascript also broken out separately.
Solution Preview
Student,
Take heart! Looping in JavaScript is easy.
Download the attached HTML. And click on it to run in your browser. (Your browser may ask you to "Click to allow Active content" or some such thing, go ahead and do that. You will see four buttons, one for each of your cases. After running a case, use your Browser Back Button to try another case.
Now, open the same file in Note pad ...
Purchase this Solution
Free BrainMass Quizzes
Word 2010: Table of Contents
Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.
C# variables and classes
This quiz contains questions about C# classes and variables.
Excel Introductory Quiz
This quiz tests your knowledge of basics of MS-Excel.
Basic Networking Questions
This quiz consists of some basic networking questions.
Basic UNIX commands
Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.