So for this problematic part of my task, I need to use tables and dialog boxes.
First of all I need to define an array of 3 elements. Each element is associated with a different first name.
Then I shall realize a first function to add a name in the table. The function takes as parameter the table previously created and return it containing an additional element whose value is the name that the visitor wants to add. I must use the dialog box prompt so that the user can specify the name he wishes to add in the table.
I shall also perform a second function which will display the name that is included in the different array elements. This function will also take the table in parameters and proceed with setting the display name with a dialog box alert type that contains all of the name separated by ";".
Help is very much appreciated.
Please don't post links, I need explanations, so that I can understand next time I encounter this situation.