From 323a008de535aeeaa1df43fa55fddffa7c34a8b7 Mon Sep 17 00:00:00 2001 From: royjohnlee <106703196+royjohnlee@users.noreply.github.com> Date: Sat, 8 Jun 2024 07:14:53 -0700 Subject: [PATCH] fix(curriculum): Changed wording in description and hints for clarity (#55119) Co-authored-by: Roy John Lee --- .../660f359af3e32e0f1a6880b7.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f359af3e32e0f1a6880b7.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f359af3e32e0f1a6880b7.md index cb5c116f9f1..a315c6ffda4 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f359af3e32e0f1a6880b7.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-introductory-javascript-by-building-a-pyramid-generator/660f359af3e32e0f1a6880b7.md @@ -9,7 +9,7 @@ dashedName: step-65 You should now see the same bunch of characters in your console. Your `padRow` function is doing the exact same thing you were doing earlier, but now it's in a reusable section of its own. -Use the addition operator to concatenate a blank space `" "` to the beginning and end of your repeated `character` string. +Use the addition operator to concatenate a single space `" "` to the beginning and end of your repeated `character` string. Remember that you can use the `+` operator to concatenate strings like this: @@ -19,13 +19,13 @@ Remember that you can use the `+` operator to concatenate strings like this: # --hints-- -You should concatenate an empty space to the beginning of your returned value. +You should concatenate a single space to the beginning of your returned value. ```js assert.match(padRow(1, 1), /^\s/); ``` -You should concatenate an empty space to the end of your returned value. +You should concatenate a single space to the end of your returned value. ```js assert.match(padRow(1, 1), /\s$/);