Open GiuliaTeggi opened 6 years ago
Just a minor 'issue'...Given that the input field is inside of a form with a 'submit button', you don't need to add an event listener to it to call the XHR request. The default behaviour of the form is to call the first 'submit' button available.
Interesting point thanks!
Just a minor 'issue'...Given that the input field is inside of a form with a 'submit button', you don't need to add an event listener to it to call the XHR request. The default behaviour of the form is to call the first 'submit' button available.