Abdoul B. answered 07/30/19
Student Junior Software Developer
The way you do that is, You create the input tag in your Html and assign a specific id to it. Then in your javascript section of code you use the jquery library to retrieve the value of the input that your user provide. The dollar sign calls your jQuery library and the .val() calls whatever value attributed to the input targeted by your id.
/ Html code:
<input id="YouriD">
//JavaScript Code:
$("#YouriD").val();