> How would I code this using Javascript inside an html doc?

How would I code this using Javascript inside an html doc?

Posted at: 2014-12-18 
use:

var table = document.createElement('table');

var row = document.createElement('tr');

document.createElement('td');

I think i have given you a clue. You can then finish it up yourself.

you can join my forum at http://www.tswebschool.com/forum/ for a better understanding. Post your question in the forum, and have it answered.

Write a javascript function which asks the user to input two values, the number of rows for a table and the number of columns for a table. The function would then dynamically create a table with the number of rows and columns specified and display it on the screen (i.e. append it to the DOM).