JSvalidationstests: test and test2 used to ensure the user is not trying to submit the text box without uploading code. Next test ensures user uploads a file and they upload a php file. Thirdtest(unfinished) attempts to check the size of the file but doesn't currently work and needs to be corrected