var list = [126.96.36.199.188.8.131.52.9.10];
, not .
It no work ionatan it doesnt work
WHy does it not work
Hey I've pointed out two reasons already! Your turn!
You can try deleting things until it runs, and then add them back one at a time to see what isn't valid. Then google what you were trying to do with that line.
tried it but still doesnt work
Ok.. how far did you get?
It's really hard to write code without being able to debug it.
Delete one line at a time. The last line that you delete before all errors go away, is in some way invalid.
Ask yourself what that line is supposed to do.
no i got it after rewriting it
Hey make sure to compare to your old code so you know what it was though, so that you know what to look for next time.
here it is
var list = [Pizza, Games, Football]
That's a list of undefined values though, doesn't seem very useful! I mean, I don't know what you're supposed to be doing but.. I don't think that's it!
And you dropped something, here you go:
It worked because i had to make a array that had different things
But it's a list of the same value 3 times. Not different!
You created 3 variables, and gave them no value. So they all refer to
So your array becomes
[undefined, undefined, undefined]
The submission tests are pretty far from perfect. Passing doesn't mean it's working, they often pass incorrect code. I still don't know what you're supposed to do on your exercise, but it seems off to me, that's all I'm saying. But I'm sure you'll figure it out eventually either way so I guess it's fine.
It worked i dont know what to tell you