[Solved] How to debug an event of new line (enter) in HTML


this article helped me solve the problem, hope it will do the same for you all
https://javascript.info/forms-submit

<form onsubmit="return false" action="#" method="post" class="site-block-subscribe">

solved How to debug an event of new line (enter) in HTML