Assessment wanted for Arrays 3 skill test

Hello, I am stuck with implementing steps 3 and 4 of the skill test. My code is displaying an output but not the expected result.
I would like assistance from anyone in solving it and if possible some explanation.
Thanks!
Here’s a link to a codepen containing my code - https://codepen.io/mitch-ihejirika/pen/oNbKaxO
Here’s a link to the actual task/assessment page - https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Test_your_skills:_Arrays

Hello @mitchellihejirika

you doing great and you can update your loop with this code

myArray.forEach(function(item, index, array) {

myArray[index] = item + " (" + index + “)”;
});

your code for the 4th step is fine
hope that help and have a nice day :slight_smile:

1 Like

Awesome! Thanks a lot.

you very welcome :slight_smile: