The problem of not showing it as valid: BC102034568@vu.edu.pk is at :
PHP Code: 
if (at<|| dot<at+|| dot+2>=x.length
This works:
PHP Code: 
if (at<|| dot<at+|| dot+2>=x.length
But there are still few other checks you need to implement.
soft2050 Reviewed by soft2050 on . Help Need In Making Assisgnment JavaScript Hello i got assignment from my university i am not able to make it properly doing some mistakes well got this assignment Make a form in HTML document containing only one field named as Email and one Submit Button. Write your own JavaScript function to validate the email address. The Validation should be as follows: It must accept only your VU Student email address i.e; it must not accept any other student’s VU email address. Rating: 5