my coding is working fine but when i use onSubmit in the form as attribute then the whole ui disappear and nothing is showing on the ui why what is the solution please
<form onSubmit={handleSubmit}> // what is the problem with this line because this onsubmitdisappear the ui
// the code goes here
</form>
New contributor
Itz Me is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.