I have been studying JS for a while, self-taught and I wonder how to put this on JS
Like Required properties in HTML, if user forgot to input his @ symbol, HTML validition will show message, and etc.
I knew some use pattern=""
attribute,
W3 pattern
I don't really know how to use regex, and don't even understand their symbols
How to put this in JS if condition for email input ??
Any help will be appreciated Thanks