I currently have a webpage, and I want the user to be able to input their name and age. Once they've done that, they hit submit, and the first input is set to var name, and the second input box is set to var age. Is this possible?
Here's what I've tried
<form>
<input type="text" Name:"firstname"><br>
<input type="text" Age:"age"><br>
<input type="submit" value="Done">
</form>
Im not sure how to go about setting the input to values however.