The fact is that I have the script done, which executes a loop to generate a series of sentences. I want the array account to start with 0 and not 1 , so that it makes sense.
var colours = ["White", "Red", "Black", "Purple", "Grey", "Yellow", "Blue"];
var cities = ["Japan", "Korea", "Spain", "England", "China", "Singapur",
"Rumania"];
var days = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday",
"Saturday", "Sunday"];
for (var n = 0; n < colours.length; n++) {
document.write("My " + n + " choice is " + colours[n] + " in " +
cities[n] + " on " + days[n] + "<br>");
}
This is the result I currently get.
It's probably easy but I can not see it. Thanks for the help in advance.