Reactjs – form still submitting even though input is incorrect react
I have a contact form I have created with validation and it mostly works however it still submits even when the information is wrong. Here is my code: ContactForm.jsx: const ContactForm = () => { // react states for required…