dynamic arrays with input javascript
<p>I am currently doing a school project where I have to use javascript to create a page where a user can key in multiple numbers from an input box.</p>

<p>After each number is entered there is a add button which then shows the number in another box below the input. So each number is displayed vertically down the page.</p>

<p>From there I need two more buttons. The first one to calculate which will add the numbers together and work out the average. The second one will clear the array to start again.</p>

<p>I believe I am ok with the last two buttons. What I am unsure of is how should the user input create the dynamic array which will then be displayed in the page. I have been able to get a single number input but I am missing the next step so the next number entered will dispay and allow me to build an array from which the calculations can be performed. </p>
