@jesse10930
Posted
Hey BeshoyS, your project is looking good!
For your first question, if you are just wanting to change the message text, you can add the 'oninvalid' attribute to the input element. It has a bit of a wonky format, which you can see below. You can then set the text to whatever message you would like to send the user.
<input
type="email"
name="email"
value=""
placeholder="[email protected]"
pattern="/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/"
required=""
oninvalid="this.setCustomValidity('Please enter a valid email address')"
>
If you are looking to change the popup box styling, I'm not really sure how to go about that.
Hope this is helpful! Great project!