From a480ebdeb8f2962fe6be38b2897f94d22d6dff63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lasse=20J=C3=B8rgensen?= <28780271+lasjorg@users.noreply.github.com> Date: Wed, 7 Aug 2024 05:39:59 +0200 Subject: [PATCH] fix(curriculum): add location of if statement to requirement and hint (#55762) --- .../6610bf6fa14d700beed1b109.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/6610bf6fa14d700beed1b109.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/6610bf6fa14d700beed1b109.md index 95026e413cd..c4b4da18589 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/6610bf6fa14d700beed1b109.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/6610bf6fa14d700beed1b109.md @@ -9,11 +9,11 @@ dashedName: step-87 The equality operator `==` is used to check if two values are equal. To compare two values, you'd use a statement like `value == 8`. -Add an `if` statement to your loop. The statement should check if `done` is equal to `count` using the equality operator. +Below `done++` inside your loop, add an `if` statement. The statement should check if `done` is equal to `count` using the equality operator. # --hints-- -You should use an `if` statement in your loop. +You should use an `if` statement in your loop. It should be added after `done++`. ```js assert.match(__helpers.removeJSComments(code), /while\s*\(\s*continueLoop\s*\)\s*\{\s*done\+\+;\s*if/);