Press enter on input. Then delete one of inputand click it again. When we have two inputs inside the form, the form does not appear (we need a button). Why is this?
The default behavior of single-entry HTML forms is to submit. Once you add a second input, pressing the enter button will no longer submit the form. The presence or absence of names has nothing to do with it.