Skip to content

Commit 77a95d0

Browse files
authored
fix(curriculum) : updating tests and hints for trivia-bot-lab (freeCodeCamp#58841)
1 parent bc9a72d commit 77a95d0

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

curriculum/challenges/english/25-front-end-development/lab-javascript-trivia-bot/66ed41f912d0bb1dc62da5dd.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,39 @@ You should log `"Hello! I'm your coding fun fact guide!"` to the console.
3131
assert.equal(output[0], "Hello! I'm your coding fun fact guide!")
3232
```
3333

34-
You should declare a `botName` variable and give it a value.
34+
You should declare a `botName` variable. Double check for any spelling or casing errors.
3535

3636
```js
3737
assert.exists(botName);
38+
```
39+
40+
Your `botName` variable should be a string.
41+
42+
```js
3843
assert.isString(botName);
3944
```
4045

41-
You should declare a `botLocation` variable and give it a value.
46+
You should declare a `botLocation` variable. Double check for any spelling or casing errors.
4247

4348
```js
4449
assert.exists(botLocation);
50+
```
51+
52+
Your `botLocation` variable should be a string.
53+
54+
```js
4555
assert.isString(botLocation);
4656
```
4757

48-
You should declare a `favoriteLanguage` variable and give it a value.
58+
You should declare a `favoriteLanguage` variable. Double check for any spelling or casing errors.
4959

5060
```js
5161
assert.exists(favoriteLanguage);
62+
```
63+
64+
Your `favoriteLanguage` variable should be a string.
65+
66+
```js
5267
assert.isString(favoriteLanguage);
5368
```
5469

0 commit comments

Comments
 (0)