<% //Did the user answer question 1? if (Request.Form("Answer1").count > 0) { //Get the answer into a string variable sAnswer1 = Request.Form("Answer1"); //Convert the answer into lower case sLoweredAnswer1 = String(sAnswer1).toLowerCase(); //Did the user get the answer correct? if (sLoweredAnswer1 == "metamorphic") { sFeedback = "Nice job! The answer is metamorphic."; } else { sFeedback = "No, the correct answer is metamorphic."; } displayFeedback(sFeedback,"question2.htm"); } else { //print an error message sPrint = "You must take the "; sPrint += "
rocks quiz
"; sPrint += " before this script will do anything." Response.Write(sPrint); } %>