fix(curriculum): update step 6 instruction in workshop shopping list (#65768)

This commit is contained in:
Aditya Singh
2026-02-20 23:10:24 +05:30
committed by GitHub
parent 59abe4c35d
commit eabfb7fcf9
6 changed files with 6 additions and 6 deletions

View File

@@ -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--

View File

@@ -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--

View File

@@ -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--

View File

@@ -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--

View File

@@ -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--

View File

@@ -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--