diff --git a/src/components/Contact.js b/src/components/Contact.js index 06f9372..c6b0663 100644 --- a/src/components/Contact.js +++ b/src/components/Contact.js @@ -73,7 +73,10 @@ function ContactForm() { setEmail(e.target.value)} placeholder="Email" - required /> + required + pattern="[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}" + title="Please enter a valid email address" + /> {/* Message */}