mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-25 02:14:11 -05:00
fix(curriculum): Changed wording in description and hints for clarity (#55119)
Co-authored-by: Roy John Lee <royjohnlee@Roys-MacBook-Pro.local>
This commit is contained in:
@@ -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$/);
|
||||
|
||||
Reference in New Issue
Block a user