Build a Shopping List - Step 7

Tell us what’s happening:

I tried this problem, but I couldn’t solve it. So please solve it

Your code so far


// User Editable Region

console.log("Grocery shopping list");

const shoppingList = [];

console.log("It will be nice to have some fruit to eat.");

shoppingList.push("Apples");
shoppingList.push("Grapes");

function getShoppingListMsg(arr) {
  return "Current Shopping List: " + arr;
}

console.log(getShoppingListMsg(shoppingList));

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36

Challenge Information:

Build a Shopping List - Step 7

Hi

You need to add the new code in the editable region. You have added some of the new code into previous lines
I suggest you reset the step and put the code in the correct place.

shoppingList.push("Grapes");