@maiaflow
Posted
The modal is such a nice touch, looks really good.
Testing your solution did make me realize a difference in our approaches, where you did validation with javascript on submit and I did it with the logic in the :invalid pseudoclass based on the input type email. I imagine these approaches could be combined so that the user could know the email was invalid before even hitting submit.
Marked as helpful
@ericsalvi
Posted
Thank you @maiaflow,
Recently I actually learned you can use Regex Patterns on a few different input types.
https://www.youtube.com/watch?v=g-Y31Iswr2M
I do wish I tried this newer-to-me approach on this one but I was very happy with the work I did with the JavaScript.