Basic JavaScript - Shopping List

im trying to set up a array list but im having issues running my code

const myList = [["Basketball" , 5],["Jumpropes" ,5],["Mason Jar" ,5],["Rims ," 2],["Shoes" ,5]];

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Shopping List

Link to the challenge:

Do you see the misplaced comma here?

Welcome to the community!

The commas should all go behind the first item in the list.

The comma needs to be outside the quotation marks here.

Good progress!

Happy coding! :slight_smile:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.