Difference between revisions of "Team:Purdue/Quiz"

Line 17: Line 17:
 
<h1 id = "questionNumber"> Question 1 </h1>
 
<h1 id = "questionNumber"> Question 1 </h1>
 
<p id="question"> Men can also get yeast infections? </p>
 
<p id="question"> Men can also get yeast infections? </p>
<button id="yes" class="btn btn-warning" style="Display:Block;" onclick="correct=yesAnswer(counter,correct)"> Yes </button>
+
<button id="yes" class="btn btn-warning" style="Width:50%;" onclick="correct=yesAnswer(counter,correct)"> Yes </button>
<button id="no" class="btn btn-warning" style="Display:Block;" onclick="correct=noAnswer(counter,correct)"> No </button>
+
<button id="no" class="btn btn-warning" style="Width:50%;" onclick="correct=noAnswer(counter,correct)"> No </button>
 
<h2 id="Commentary"></h2>
 
<h2 id="Commentary"></h2>
 
<div class="clear"></div>
 
<div class="clear"></div>

Revision as of 18:57, 11 June 2018

Bootstrap Example


Question 1

Men can also get yeast infections?