Practice working with for and while loops in JavaScript
Switch branches/tags
Nothing to show
Clone or download
James Byess
James Byess typos
Latest commit dce755a Mar 29, 2019

README.md

General Assembly Logo

Loop Practice

This two part exercise is for you to practice writing loops, using both for loops and while loops.

Prerequisites

  • JavaScript syntax
  • Data types
  • for loops
  • while loops

Instructions

  1. Fork and clone this repository.
  2. Change into the new directory.
  3. Fulfill the listed requirements.

Starter code is available in lib/challenge.js. You are not required to turn in your submission.

Requirements

Part 1: for Loops:

The first series of prompts inside lib/challenge.js is for you to practice writing for loops. Make a commit after completing each prompt.

Part 2: Iterating over Arrays:

The second series of prompts inside lib/challenge.js is for you to practice iterating through an array using a for loop. Make a commit after completing each prompt.

Part 3: while Loops:

The second series of prompts inside lib/challenge.js is for you to practice writing while loops. Make a commit after completing each prompt.

Plagiarism

Take a moment to refamiliarize yourself with the Plagiarism policy. Plagiarized work will not be accepted.

License

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.