Difference between revisions of "Team:Purdue/Quiz"

Line 103: Line 103:
 
document.getElementById("Commentary").innerHTML="Correct!";
 
document.getElementById("Commentary").innerHTML="Correct!";
 
                 document.getElementById("Commentary").style.color="green";
 
                 document.getElementById("Commentary").style.color="green";
document.getElementById("Description").innerHTML="C. Albicans exists in two different forms. There is a white form and an opaque form. <br>"+
+
document.getElementById("Description").innerHTML="<i>C. Albicans</i> exists in two different forms. There is a white form and an opaque form. <br>"+
 
"white gains the ability to borrow through skin and is often the cause of yeast infections in the blood <br>"+
 
"white gains the ability to borrow through skin and is often the cause of yeast infections in the blood <br>"+
 
"opaque is a more fertile form where it can reproduce upwards to 300% faster. This form normally causes mucosal infections";
 
"opaque is a more fertile form where it can reproduce upwards to 300% faster. This form normally causes mucosal infections";
Line 175: Line 175:
 
document.getElementById("Commentary").innerHTML="Incorrect";
 
document.getElementById("Commentary").innerHTML="Incorrect";
 
                 document.getElementById("Commentary").style.color="red";
 
                 document.getElementById("Commentary").style.color="red";
document.getElementById("Description").innerHTML="C. Albicans exists in two different forms. There is a white form and an opaque form. <br>"+
+
document.getElementById("Description").innerHTML="<i>C. Albicans</i> exists in two different forms. There is a white form and an opaque form. <br>"+
 
"white gains the ability to borrow through skin and is often the cause of yeast infections in the blood <br>"+
 
"white gains the ability to borrow through skin and is often the cause of yeast infections in the blood <br>"+
 
"opaque is a more fertile form where it can reproduce upwards to 300% faster. This form normally causes mucosal infections";
 
"opaque is a more fertile form where it can reproduce upwards to 300% faster. This form normally causes mucosal infections";
Line 232: Line 232:
 
// Second Question
 
// Second Question
 
if(cnt==0){
 
if(cnt==0){
                 questionReset("C. Albicans can exisit in two different forms which produce different molecules?","Question 2");
+
                 questionReset("<i>C. Albicans</i> can exisit in two different forms which produce different molecules?","Question 2");
 
}
 
}
 
// Third Question
 
// Third Question

Revision as of 04:31, 17 October 2018

Bootstrap Example


Question 1

Men can also get yeast infections?