mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-23 22:00:38 -04:00
fix(curriculum): update step 6 instruction in workshop shopping list (#65768)
This commit is contained in:
@@ -11,7 +11,7 @@ Now it is time to add another fruit to the list.
|
||||
|
||||
Using the same array method as earlier, add the string `"Grapes"` to the end of the `shoppingList` array.
|
||||
|
||||
Then, add a `console.log` and call the `getShoppingListMsg` function inside of the `console.log` to see the updated list logged to the console.
|
||||
Then, add a `console.log` and call the `getShoppingListMsg` function with the `shoppingList` array as an argument inside `console.log` to see the updated list logged to the console.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ dashedName: step-10
|
||||
|
||||
# --description--
|
||||
|
||||
Next, add a `console.log` and call the `getShoppingListMsg` function inside of the `console.log` to see the updated list logged to the console.
|
||||
Next, add a `console.log` and call the `getShoppingListMsg` function with the `shoppingList` array as an argument inside `console.log` to see the updated list logged to the console.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ dashedName: step-12
|
||||
|
||||
Now it is time to log the updated `shoppingList` array to the console.
|
||||
|
||||
Add another `console.log` and call the `getShoppingListMsg` function inside of the `console.log` to see the updated list logged to the console.
|
||||
Add another `console.log` and call the `getShoppingListMsg` function with the `shoppingList` array as an argument inside `console.log` to see the updated list logged to the console.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ dashedName: step-15
|
||||
|
||||
Now it is time to log the updated `shoppingList` array to the console.
|
||||
|
||||
Add a `console.log` and call the `getShoppingListMsg` function inside of the `console.log` to see the updated list logged to the console.
|
||||
Add a `console.log` and call the `getShoppingListMsg` function with the `shoppingList` array as an argument inside `console.log` to see the updated list logged to the console.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ Start by adding a `console.log` statement that logs the message `"It might be ni
|
||||
|
||||
Below that `console` statement, use the correct array method to add the string `"Chocolate Cake"` to the beginning of the `shoppingList` array.
|
||||
|
||||
Finally, add a `console.log` and call the `getShoppingListMsg` function inside of the `console.log` to see the updated list logged to the console.
|
||||
Finally, add a `console.log` and call the `getShoppingListMsg` function with the `shoppingList` array as an argument inside `console.log` to see the updated list logged to the console.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ dashedName: step-6
|
||||
|
||||
Now it is time to see the message logged to the console.
|
||||
|
||||
Add a `console.log` and call the `getShoppingListMsg` function inside of the `console.log` to see the message logged to the console.
|
||||
Add a `console.log` and call the `getShoppingListMsg` function with the `shoppingList` array as an argument inside `console.log` to see the message logged to the console.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user