This method works well for redirecting users in all the languages that you set up. It could also be used to automatically redirect users to the appropriate software download page for their computer. Facts include state capital, date admitted into the union, state flower, and state bird. This script creates a JavaScript Quiz. Answers are selected by using drop-down menus, then submitted by clicking a button.
Incorrect responses receive a check mark.
This script creates a JavaScript Survey. Users answer a number of questions, then click on the submit button. A mailto form automatically pops up, allowing the survey taker to send along their results. An excellent use of regular expressions for the initial validation routine as well. Also includes logical checks for invalid dates such as March 32 or February 29 if it is not a leap year.