diff --git a/Test.html b/Test.html
index fa02a82..0f09b8c 100644
--- a/Test.html
+++ b/Test.html
@@ -103,13 +103,6 @@
Password must contain the following:
}
email.onkeyup = function() {
- var numbers = /[0-9]/g;
- if(email.value.match(numbers)) {
-
- alert("Invalid Input");
- email.value ="";
- }
-
// Sanitize for Special Char except @
var specialchar = /[!#$%^&*+`~=?\|<>/]/g;
if(email.value.match(specialchar)) {
diff --git a/style.css b/style.css
index 0fb3f60..0249284 100644
--- a/style.css
+++ b/style.css
@@ -227,7 +227,7 @@ pre {
}
/* -------------------Contact Form--------------------------*/
- input[type=text], select, textarea, input[type=password] {
+ input[type=text], select, textarea, input[type=password], input[type=email]{
width: 100%;
padding: 12px;
border: 1px solid #ccc;
@@ -277,7 +277,7 @@ li.active > button.nav-button {
}*/
/* Full-width input fields */
-input[type=text], input[type=password] {
+input[type=text], input[type=password], input[type=email] {
width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
@@ -287,7 +287,7 @@ input[type=text], input[type=password] {
}
/* Add a background color when the inputs get focus */
-input[type=text]:focus, input[type=password]:focus {
+input[type=text]:focus, input[type=password]:focus, input[type=email]:focus {
background-color: #ddd;
outline: none;
}