Try it yourself – JavaScript Form Validation with email , phone number and name.

Code

Result