I am new to html and I am doing a little project to test myself in html by trying to make a table, but making it so that the user says the number of rows and columns in the table. I currently have everything worked out using javascript, and the table works with inputting values within the html file: like the function is table(rows,cols) and doing <button type="button" onclick="table(1,2)">Make Table</button> works. My problem is that with user input, I'm not to sure how to have the user input the number of rows and columns, and then for me to store the numbers then use them in the function. Normally in other languages I could store it as a variable then pass it into the function, but I don't know if that is possible with html. All the html and javascript is in one file, since it is just a small thing I want to try, and I wasn't sure if could use <form> for this or how it would work.Thanks for the help, and the tutorials have helped me a lot so far.