title: Javascript stores user's input into 2-dimensional arrays
body: <p>I was trying to store a two-dimensional with the data value from user input. Say, storing students' test results into that array. I have managed to do this with a one-dimensional array but failed to relate a 2D array to the user input. I checked many 2D arrays examples and found out that this would be much easier if using Java instead of Javascript, but currently, this is the only language I have knowledge of, and I do wonder how it could be done using Javascript. I've also tried using a position variable "i" to connect the input and array but couldn't figure it out.</p>