freeCodeCamp/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript
PartyLich a52b5b4ebb feat: rewrite Iterate with JavaScript While Loops challenge (#37697)
* feat: rewrite Iterate with JavaScript While Loops challenge

Previous example in the challenge description was the exact code
that challenge instructions say to implement. Change the challenge to
differentiate from the example.

resolve freeCodeCamp/freeCodeCamp#37694

* fix: update iterate with javascript while loops solution

* refactor: improve iterate with js while loops challenge wording

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2019-11-06 12:51:59 -05:00
..
access-array-data-with-indexes.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
access-multi-dimensional-arrays-with-indexes.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
accessing-nested-arrays.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
accessing-nested-objects.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
accessing-object-properties-with-bracket-notation.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
accessing-object-properties-with-dot-notation.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
accessing-object-properties-with-variables.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
add-new-properties-to-a-javascript-object.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
add-two-numbers-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
adding-a-default-option-in-switch-statements.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
appending-variables-to-strings.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
assignment-with-a-returned-value.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
build-javascript-objects.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
chaining-if-else-statements.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
comment-your-javascript-code.english.md Added escape characters to the javascript comment curriculum (#37518) 2019-10-25 13:41:42 -05:00
comparison-with-the-equality-operator.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
comparison-with-the-greater-than-operator.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
comparison-with-the-greater-than-or-equal-to-operator.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
comparison-with-the-inequality-operator.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
comparison-with-the-less-than-operator.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
comparison-with-the-less-than-or-equal-to-operator.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
comparison-with-the-strict-equality-operator.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
comparison-with-the-strict-inequality-operator.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
comparisons-with-the-logical-and-operator.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
comparisons-with-the-logical-or-operator.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
compound-assignment-with-augmented-addition.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
compound-assignment-with-augmented-division.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
compound-assignment-with-augmented-multiplication.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
compound-assignment-with-augmented-subtraction.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
concatenating-strings-with-plus-operator.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
concatenating-strings-with-the-plus-equals-operator.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
constructing-strings-with-variables.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
count-backwards-with-a-for-loop.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
counting-cards.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
create-decimal-numbers-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
declare-javascript-variables.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
declare-string-variables.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
decrement-a-number-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
delete-properties-from-a-javascript-object.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
divide-one-decimal-by-another-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
divide-one-number-by-another-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
escape-sequences-in-strings.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
escaping-literal-quotes-in-strings.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
find-the-length-of-a-string.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
finding-a-remainder-in-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
generate-random-fractions-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
generate-random-whole-numbers-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
generate-random-whole-numbers-within-a-range.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
global-scope-and-functions.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
global-vs.-local-scope-in-functions.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
golf-code.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
increment-a-number-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
initializing-variables-with-the-assignment-operator.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
introducing-else-if-statements.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
introducing-else-statements.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
iterate-odd-numbers-with-a-for-loop.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
iterate-through-an-array-with-a-for-loop.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
iterate-with-javascript-do...while-loops.english.md Fix Typo (#37557) 2019-10-26 16:48:06 -04:00
iterate-with-javascript-for-loops.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
iterate-with-javascript-while-loops.english.md feat: rewrite Iterate with JavaScript While Loops challenge (#37697) 2019-11-06 12:51:59 -05:00
local-scope-and-functions.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
logical-order-in-if-else-statements.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
manipulate-arrays-with-pop.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
manipulate-arrays-with-push.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
manipulate-arrays-with-shift.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
manipulate-arrays-with-unshift.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
manipulating-complex-objects.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
modify-array-data-with-indexes.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
multiple-identical-options-in-switch-statements.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
multiply-two-decimals-with-javascript.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
multiply-two-numbers-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
nest-one-array-within-another-array.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
nesting-for-loops.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
passing-values-to-functions-with-arguments.english.md fix(challenge-test): make semi-colon optional (#36704) 2019-08-28 06:22:47 +05:30
practice-comparing-different-values.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
profile-lookup.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
quoting-strings-with-single-quotes.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
record-collection.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
replace-loops-using-recursion.english.md fix: recursion test (#37419) 2019-10-23 00:18:40 +05:30
replacing-if-else-chains-with-switch.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
return-a-value-from-a-function-with-return.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
return-early-pattern-for-functions.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
returning-boolean-values-from-functions.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
selecting-from-many-options-with-switch-statements.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
shopping-list.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
stand-in-line.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
store-multiple-values-in-one-variable-using-javascript-arrays.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
storing-values-with-the-assignment-operator.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
subtract-one-number-from-another-with-javascript.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
testing-objects-for-properties.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
understand-string-immutability.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
understanding-boolean-values.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
understanding-case-sensitivity-in-variables.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
understanding-undefined-value-returned-from-a-function.english.md update test wording for undefined fn returns (#36804) 2019-10-08 19:16:36 +09:00
understanding-uninitialized-variables.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
updating-object-properties.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
use-bracket-notation-to-find-the-first-character-in-a-string.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
use-bracket-notation-to-find-the-last-character-in-a-string.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
use-bracket-notation-to-find-the-nth-character-in-a-string.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
use-bracket-notation-to-find-the-nth-to-last-character-in-a-string.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
use-conditional-logic-with-if-statements.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
use-multiple-conditional-ternary-operators.english.md fix: use dfn instead of code tag (#36640) 2019-10-27 12:45:37 -04:00
use-recursion-to-create-a-countdown.md fix: added forumTopicId to new challenge (#36609) 2019-08-21 11:20:05 -05:00
use-recursion-to-create-a-range-of-numbers.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
use-the-conditional-ternary-operator.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
use-the-parseint-function-with-a-radix.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
use-the-parseint-function.english.md fix(curriculum): Added forumTopicId to remaining 1200 challeng… (#36558) 2019-08-05 22:14:37 +05:30
using-objects-for-lookups.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30
word-blanks.english.md Add updated Scrimba link to Word Blank challenge (#37630) 2019-10-31 11:37:26 -05:00
write-reusable-javascript-with-functions.english.md feat: add forumTopicId to challenge frontmatter [pre-existing] 2019-08-05 22:14:37 +05:30