freeCodeCamp Challenge Guide: Shopping List

freeCodeCamp Challenge Guide: Shopping List
0

#1

Try this
var myList = [];

myList = [[“Chocolate Bar”, 15], [“Biscuit”, 20], [“Cake”, 25], [“Sweet”, 30], [“Drink”, 35]];


Shopping List help pls
#2

This Basic Code Solution doesn’t end the array the way I would expect (as noted in the hints!) there is no ; ? am I missing something?


#3

Maybe you’re viewing this on a smaller screen? The semicolon is at the end of the line as it is supposed to be. You might need to side scroll to see it :slight_smile:


#4