From 8a9f3319c69b7a48761e5f5aeb004d5b8ab2f759 Mon Sep 17 00:00:00 2001 From: matias-miller <45863274+matias-miller@users.noreply.github.com> Date: Thu, 21 Jan 2021 10:44:10 -0600 Subject: [PATCH] fix(learn): Fixed typos in count-backwards-with-a-for-loop.md (#40478) * Spelling change in count-backwards-with-a-for-loop * Update curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.md Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> --- .../basic-javascript/count-backwards-with-a-for-loop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.md index e7e5079d6e..9edc5f1cb9 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/count-backwards-with-a-for-loop.md @@ -11,7 +11,7 @@ dashedName: count-backwards-with-a-for-loop A for loop can also count backwards, so long as we can define the right conditions. -In order to count backwards by twos, we'll need to change our `initialization`, `condition`, and `final-expression`. +In order to decrement by two each iteration, we'll need to change our `initialization`, `condition`, and `final-expression`. We'll start at `i = 10` and loop while `i > 0`. We'll decrement `i` by 2 each loop with `i -= 2`.