Basic JavaScript - Shopping List

Tell us what’s happening:
Describe your issue in detail here.

const myList = [[“Milk”, 1], [“Cereal”, 1],[“Bottled Water”, 1], [“Eggs”, 12 ]];
Your code so far

const myList = [["Milk", 1], ["Cereal", 1],["Bottled Water", 1], ["Eggs", 12 ]];

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15

Challenge: Basic JavaScript - Shopping List

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.

HI Jeremy,
I’m not sure how to edit a post. I’ve actually resolved the problems. I only had 4 elements instead to the required 5.

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