I'm a beginner and I'm trying to have a form collect numbers that will be the number of columns and rows on my spreadsheet, I created a form to collect this info:
<form>
number of rows?
<br>
</br>
<input type="number" id="rows" name="rows" value="" />
<br>
</br>
number of columns?
<br>
</br>
<input type="number" id="cols" name="cols" value="" />
<br>
</br>
<input type="submit" value="submit" />
</form>
and I tried using:
let row = document.getElementById("rows")
let col = document.getElementById("cols");
to get the values added on the browser as my column and rows number but it's not working, what am I missing?