I`m having some issue with Javascript. We just started to study it a couple weeks ago and I have to do a work for class:
Need to do a prompt. get 10 numbers input (10 gr
See the explanations in comments:
var arr = []; // define our array for (var i = 0; i < 10; i++) { // loop 10 times arr.push(prompt('Enter grade ' + (i+1))); // push the value into the array } alert('Full array: ' + arr.join(', ')); // alert the results