With only JavaScript, how can the submitted information be displayed at the bottom of the same html page below the form? Does this have anything to do with ajax or fetch? Is it something just can be done in html?
<form>
<div type = "input" name = "address"></div>
<div type = "input" name = "email"></div>
</form>
<div type = "submit" name = "submit"></div>
After submit this form, how do I get the address and email printed at the same page of the form?
The webpage should look like this:
===================================
| |
| |
| FORM Needs to be submitted|
| |
| |
|====================================
_________
|BUTTON|
________
Display the addr and email here:
addr:
email: