HELP Shopping List

HELP Shopping List
0.0 0

#1

Tell us what’s happening:
SyntaxError: unexpected token: ‘]’

Although i followed the instructions and my code looks good to me.

Your code so far

var myList = [["milk", 2], ["bread", 3], ["cheese", 10], ["oranges", 25], "sausages", 5]];


Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:


#2

you´re missing out on one “[” before sausages :wink:


#3

You missed a [ for ["sausages",5]


#4

Thank you guys. You are awesome, i dont know how i missed that. I suppose it is all the hours that i have been staring at my laptop. lol :joy:


#5

happens to all of us :wink:
the longer you stare at it, the harder it gets to spot the error.
Often it gets better again during a break :slight_smile: