Question: Must be done with JAVASCRIPT. I need to validate that none of the fields (name, phone number, email, etc) are left blank upon the user
Must be done with JAVASCRIPT. I need to validate that none of the fields (name, phone number, email, etc) are left blank upon the user clicking 'Submit' and I need to also validate that the phone number and email fields are valid formats. Again, the validation has to be done via Javascript, that is the assignment.
The HTML:
TestingInputs
- Home
- About Us
- Test
h2 {
text-align: center;
font-size: 40px;
}
Contact Us
label {
display: inline-block;
width: 660px;
text-align: right;
}
Enter your name
Enter an email
Enter a phone number
Tell us how we can help you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
