|
Modify the web page from yesterday that consists of a form containing a
single text box (NAME="end") and a Javascript. The
Javascript should display all of the integers between
1 and endVal, where endVal is the value stored in the
text box named end. The values should be displayed in
rows of 10 numbers per row.
The values should line up in columns so the right hand digits are aligned. Use the space function to help with alignment.
Save your web page as numList.html. Extra Credit: Calculate the sum of all of the integers and display the results. |