Create a new HTML page called index.html. There is to be a form on the web page with the following fields for entering information on each player: Player's First and Last Name, DOB (Date of Birth), Email, Age, Gender, Address (Street, City, Town, Country), Educational Level, and Image of Self. Player's name, DOB, Gender, Town, and Educational Level are required values. Age must be calculated by the system from date of birth and must be greater than 12. First names must be more than three (3) characters in length. Email address must be validated to only accept email addresses that end with "@SomeEmail.com".
Create a JavaScript function called Register that will accept the values entered in the fields listed in Task 1, validate all entries using JavaScript validations, and then append the validated content to a global JavaScript array called PlayersData[].
Add a button called Register to the entry form created in Task 1 and ensure that this button calls the function, Register(), from Task 2 whenever it is clicked. After the Register button is clicked, all the fields from Task 1 and Register button must be disabled. Additionally, an End Game button along with the Play button (from Task 5 below) must now be enabled.