Discuss the below:
With an applet program that asks the user to enter a password into a textField and then press the Enter key. Compare the password to "Phoenix"; if they match, display "Access granted"; if they do not match display "Access denied".
The program must ignore differences in case between the typed password and "Phoenix". (case sensitive = ignore)
Then I must modify part two of the program to compare the password to a list of 5 valid passwords. "Kentucky", "Florida", "Indiana", "New York", "Maryland".
Please provide the java script