Difference between revisions of "Team:Purdue/Quiz"

Line 41: Line 41:
 
<p id="Description"></p>
 
<p id="Description"></p>
 
<div class="spacer-small" ></div>
 
<div class="spacer-small" ></div>
<button style="Width:59%;" class="btn btn-warning" onclick="counter=nextQuestion(counter)" >Next Question</button>
+
<button style="Width:59%;" class="btn btn-warning" onclick="counter=nextQuestion(counter)" id="btn" >Next Question</button>
 
<div class="clear"></div>
 
<div class="clear"></div>
 
<div class="clear"></div>
 
<div class="clear"></div>
Line 250: Line 250:
 
document.getElementById("questionNumber").innerHTML= "Results";
 
document.getElementById("questionNumber").innerHTML= "Results";
 
document.getElementById("question").innerHTML= "Thank you for taking our quiz";
 
document.getElementById("question").innerHTML= "Thank you for taking our quiz";
document.getElementById("button").style.visibility="hidden";
+
document.getElementById("btn").style.visibility="hidden";
 
document.getElementById("Commentary").innerHTML="";
 
document.getElementById("Commentary").innerHTML="";
 
document.getElementById("Description").innerHTML="You got " +correct+" out of 5 correct";
 
document.getElementById("Description").innerHTML="You got " +correct+" out of 5 correct";

Revision as of 19:11, 13 June 2018

Bootstrap Example


Question 1

Men can also get yeast infections?