Write an “active password checker” using CSS/HTML and JavaScript. The purpose of an active password checker is to prevent the user from selecting a password or password phrase that is easily guessed. This may be done by comparing potential passwords with a dictionary, examining the mix of characters selected, checking user information, and so on.
Your active password checker must:
1. Make sure that the selected password is at least 8 characters in length.
2. Use a dictionary of bad passwords and a rule base, so that you exclude passwords that match known "bad" words. For the words in the bad password dictionary, you may construct your own dictionary as long as it contains at least ten entries which are bad passwords. Bad words are passwords that are easily guessed. For example, "test," "1234567," "help," " (blank)," and "password."
3. You may use any implementation technique that you want. Feel free to experiment with JavaScript and other features and programming techniques.