It looks like you're new here. If you want to get involved, click one of these buttons!
So have an assignment and cannot figure it out. Had to create a variable that allows the user to input a name.
strings.html to get the names of twenty people (prompt 20 times) from the user. Store these names in an array called names. Convert all the names to uppercase. Next output the twenty names along with the length of the strings.
var who1=prompt("what is your name?");
My issue is everything I can find on the array is using predefined fields. How do you build the array when it needs the user input?