how to get the text from a html input code example
Example 1: Javascript get text input value
var inputValue = document.getElementById("myTextInputID").value;
Example 2: how to collect input textbox in html
<label for="name">Name:</label>
<input type="text" id="name"><br><br>