A person wants to publish his/her job information through a recruitment website and needs to register as a member of the recruitment website before publishing the information. The registration information includes the user name, password, gender, date of birth, and email. Before registering, you must read the membership agreement. You can register only when you agree to abide by the membership agreement.
Requirements:
1. the user name cannot be blank
2. The password and confirm password cannot be blank, and the password length cannot be less than 6 Characters
3. The date of birth must be a number ranging from 1 to 12 months and from 1 to 31 days.
4. the email address cannot be blank. It must contain the symbols "@" and "."
5. You must select "I agree to abide by the membership agreement" to use the Registration button.
6. Use window. open () to open the "membership agreement"
7. Close the window on the membership agreement page