Challenge shopping-list has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.8 (KHTML, like Gecko) Version/9.1.3 Safari/601.7.8.
Please describe how to reproduce this issue, and include links to screenshots if possible.
var myList = [["Noodles", 20],["Almond Milk", 1],["Crackers", 15],["Kale", 2],["Rice", 1]];
It will not show that this is complete? There seem to be no errors with my input.
Same here.
var myList = [
["Meat", 2],
["Milk", 64],
["Bananas", 8],
["Cookies", 34],
["Beans", 234]
];
On the first test succeeds.
"myList should be an array"
@robertkub @ngratton What browsers are you using? I used both of your code snippets in Chrome and Firefox and was able to pass all the tests. Could you try copying your code to the clipboard and refreshing the page, and then pasting it back in?
@dhcodes I use Chrome 52.0.2743.116.
I also tried to complete the challenge in a freshly opened Safari 9.1.3 and newly installed Firefox 48.0.2, by copying/pasting the code, still with no success. I also retyped the whole thing with different values, twice; still not working. It won't even recognize myList as an array.
var myList = [['Hard disk',50],['keyboard',5],['headphone',20],['router',25],['vr',600]];
I see no reason why this should not be working.But this is not working
I have tried that, I'm currently using the most updated version of safari!
Sent from my iPhone
On Sep 9, 2016, at 12:54 PM, ngratton [email protected] wrote:
@dhcodes I use Chrome 52.0.2743.116.
I also tried to complete the challenge in a freshly opened Safari 9.1.3 and newly installed Firefox 48.0.2, by copying/pasting the code, still with no success. I also retyped the whole thing with different values, twice; still not working. It won't even recognize myList as an array.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
I don't seem to be able to replicate this. @FreeCodeCamp/issue-moderators can anyone else break this?
Cannot replicate on any browser (Chrome, Safari and Firefox. MacOS Sierra).
For what it's worth, I'm having the same issue:
var myList = [["shoes", 2], ["eggs", 12], ["pigs", 2], ["breads", 13], ["dragonballs", 9001]];
I tried refreshing and copy-pasting and stuff, but only the first test will pass.
I'm in Chrome.
I'm having the same issue. I tried my input copied and pasted some from above.
MacOSX - Chrome - Version 52.0.2743.116 (64-bit)
I'm showing this as my test results...
myStr: Hello Word
And the same in the console.
Managed to have it confirm, just once, by copying-pasting the whole snippet, on another computer using Chrome 53 on Windows 10.
However, I am unable to reproduce this success on neither systems.
I have the same issue. User agent is: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Same here, this list wold not pass: var myList = [["fruta", 10], ["pudim", 10], ["arroz", 2], ["laranjas", 98], ["gummy bears", 100], ["peanuts", 9001]];
Updated to the latest Chrome version and the issue was solved, now it works. Check if you guys are running the last version, if not, update and try again 🚨
Note: I am running on a macbook and updated Chrome to Version 53.0.2785.101 (64-bit).
@dhcodes @hallaathrad Do old browsers support forEach ??
forEach is ES5, so it should be supported fairly well... except for ie<9 (as usual)
Then that challenge should have no problem if not on ie8 and below
@robertkub Hey! The issue still exists ? And when you tried long ago, all test cases failed huh ?
Any chance we could get an update on this? I can not reproduce this either. Looking at @northless' comment, could this have been a browser issue?
var myList = [["Snickers", 5], ["Gummy bears", 3], ["Plants", 5]];
not passing on the latest version of Chrome.
@cvorak Remember that you need at least 5 items in your array. If you put 5 items in there, does it work for you?
It works with 5 items, issue never was here. Sorry for wasting your time.
@cvorak No worries! Next time, please try the "Help" button first.
I'm closing this issue as it appears to have been an issue with a version of Chrome. Please reopen if it resurfaces. 👍
Same problem as other tests. Fails, refresh, then pass.