Create an HTML document called assignment1.html that implements a webpage that dynamically creates (using JavaScript code) a 10X10 HTML table and displays in each cell the value of row times the column to create a multiplication table. Allow the user to select the number of rows and columns to redraw a new table. Use material you studied in class, powerpoint, book, etc... Follow these guidelines to implement your assignment: 1. Create assignment1.html file 2. Create a JavaScript file called assignment1.js and write the code for a function that draws the table. 3. Load the assignment1.js file at the end of the body in assignment1.html. 4. Invoke the function when the visitor opens the assignment1.html page in browser. Use window onload event. 5. (10% of the grade) Accept user input for the number of rows and columns in the table. 6. (10% of the grade) Use good web design practices to enhance your html page
Create an HTML document called assignment1.html that implements a webpage that dynamically creates (using JavaScript code) a 10X10 HTML table and displays in each cell the value of row times the column to create a multiplication table. Allow the user to select the number of rows and columns to redraw a new table. Use material you studied in class, powerpoint, book, etc... Follow these guidelines to implement your assignment: 1. Create assignment1.html file 2. Create a JavaScript file called assignment1.js and write the code for a function that draws the table. 3. Load the assignment1.js file at the end of the body in assignment1.html. 4. Invoke the function when the visitor opens the assignment1.html page in browser. Use window onload event. 5. (10% of the grade) Accept user input for the number of rows and columns in the table. 6. (10% of the grade) Use good web design practices to enhance your html page
Step by step
Solved in 4 steps