mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-28 13:00:31 -04:00
fix(curriculum): update hint text for steps 6 and 7 of greeting bot workshop (#58689)
This commit is contained in:
@@ -13,7 +13,7 @@ Add another `console` statement to the code that logs the message `"Allow me to
|
||||
|
||||
# --hints--
|
||||
|
||||
You should have a `console` statement.
|
||||
You should have a third `console.log()` statement in your code.
|
||||
|
||||
```js
|
||||
assert.lengthOf(__helpers.removeJSComments(code).match(/console\.log(.*)/g), 3);
|
||||
|
||||
@@ -48,7 +48,7 @@ You should use string concatenation with the `+` operator to join the string `"M
|
||||
assert.equal(botIntroduction, "My name is teacherBot.");
|
||||
```
|
||||
|
||||
You should have a `console` statement in your code.
|
||||
You should have a fourth `console.log()` statement in your code.
|
||||
|
||||
```js
|
||||
assert.lengthOf(__helpers.removeJSComments(code).match(/console\.log(.*)/g), 4);
|
||||
|
||||
Reference in New Issue
Block a user