this code for quiz online it’s well work for MCQ and give result when onclick button get score but answer to fill in blank & when onclick button get score not give me result
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Quiz 1</title>
<script type="text/javascript">
<!--
var total="0";
function score(){
++total;
}
function valid() {
var test10 , test11 ,test12 , test13 ,test14;
test10 = document.getElementById("q11").value;
test11 = document.getElementById("q12").value;
test12 = document.getElementById("q13").value;
test13 = document.getElementById("q14").value;
test14 = document.getElementById("q15").value;
if (test10.toLowerCase() == "expenses") {
++total; Continue;}
if (test11.toLowerCase() == "creditors") {
++total; Continue;}
if (test12.toLowerCase() == "transaction") {
++total; Continue;}
if (test13.toLowerCase() == "external auditing") {
++total; Continue;}
if (test14.toLowerCase() == "recording") {
++total;Continue; }
alert("you got " + total + " right" );
var m='<embed src="app-29.wav" />';
if (total >=13 ){document.write(m);
alert("you got " + total + " right" );}
}
// End -->
</script>
</head>
<body>
<p>Chose correct answer<br /></p>
<form action="">
<ol>
<li>The ACE Company has five plants nationwide that cost $100 million. The current market value of the plants is $500 million. The plants will be recorded and reported as assets at
<p><input type="radio" name="q1" value="$100 million."/>$100 million.<br />
<input type="radio" name="q1" value="$400 million." onclick="score()"/>$400 million.<br />
<input type="radio" name="q1" value="$500 million."/>$500 million.<br />
<input type="radio" name="q1" value="$600 million."/>$600 million.<br /></p>
</li>
<li>Liabilities
<p><input type="radio" name="q2" value="are future economic benefits."/>are future economic benefits.<br />
<input type="radio" name="q2" value="are existing debts and obligations." onclick="score()"/>are existing debts and obligations.<br />
<input type="radio" name="q2" value="possess service potential."/>possess service potential.<br />
<input type="radio" name="q2" value="are things of value used by the business in its operation."/>are things of value used by the business in its operation.<br /></p>
</li>
<li>If total liabilities decreased by $15,000 and owner’s equity increased by $5,000 during a period of time, then total assets must change by what amount and direction during that same period?
<p><input type="radio" name="q3" value="$20,000 increase."/>$20,000 increase.<br />
<input type="radio" name="q3" value="$10,000 decrease." onclick="score()"/>$10,000 decrease.<br />
<input type="radio" name="q3" value="$10,000 increase."/>$10,000 increase.<br />
<input type="radio" name="q3" value="$15,000 decrease."/>$15,000 decrease.<br /> </p></li>
<li>If total liabilities decreased by $15,000 and owner’s equity decreased by $5,000 during a period of time, then total assets must change by what amount and direction during that same period?
<p><input type="radio" name="q4" value="$20,000 increase."/>$20,000 increase.<br />
<input type="radio" name="q4" value="$10,000 increase."/>$10,000 increase.<br />
<input type="radio" name="q4" value="$20,000 decrease." onclick="score()"/>$20,000 decrease.<br />
<input type="radio" name="q4" value="$10,000 decrease."/>$10,000 decrease.<br />
</p></li>
<li>If total liabilities increased by $14,000 during a period of time and owner’s equity decreased by $6,000 during the same period, then the amount and direction (increase or decrease) of the period’s change in total assets is a(n)
<p><input type="radio" name="q5" value="$14,000 increase."/>$14,000 increase.<br />
<input type="radio" name="q5" value="$20,000 increase."/>$20,000 increase.<br />
<input type="radio" name="q5" value="$8,000 decrease."/>$8,000 decrease.<br />
<input type="radio" name="q5" value="8000 increase" onclick="score()"/>$8,000 increase.<br /> </p>
</li>
<li>Transactions that can be measured in dollars and cents are recorded in the financial information system.
<p><input type="radio" name="q6" value="True" onclick="score()"/>True<br />
<input type="radio" name="q6" value="False"/>False<br /></p>
</li>
<li>Bookkeeping and accounting are one and the same because the bookkeeping function includes the accounting process.
<p><input type="radio" name="q7" value="True"/>True<br />
<input type="radio" name="q7" value="False" onclick="score()"/>False<br /></p>
</li>
<li>In the owner's equity statement, revenues are listed first, followed by expenses, and net income (or net loss).
<p><input type="radio" name="q8" value="True"/>True<br />
<input type="radio" name="q8" value="False" onclick="score()"/>False<br /></p>
</li>
<li>Net income for the period is determined by subtracting total expenses and drawings from total revenues.
<p><input type="radio" name="q9" value="True"/>True<br />
<input type="radio" name="q9" value="False" onclick="score()"/>False<br /></p>
</li>
<li>The basic accounting equation states that Assets = Liabilities + Owner’s Equity
<p><input type="radio" name="q10" value="True" onclick="score()"/>True<br />
<input type="radio" name="q10" value="False"/>False<br /><br /> <br />
<strong>Fill in the Blank</strong><br /></p>
</li>
<li><p>Owner's equity is decreased by <input type="text" name="q10" id="q11" /> .<br/></p>
</li>
<li><p>Liabilities of a company are owed to <input type="text" name="q12" id="q12" /> .<br/></p>
</li>
<li><p>Accountants refer to an economic event as a <input type="text" name="q13" id="q13" /> .<br/></p>
</li>
<li><p>A private accountant can perform many activities in a business organization but would not work in <input type="text" name="q14" id="q14" /> .<br/></p>
</li>
<li><p>Keeping a systematic, chronological diary of events that are measured in dollars and cents is called <input type="text" name="q2" id="q15" /> .<br/></p>
</li>
</ol>
<p><input type="button" value="Get score" onclick="valid()"/>
<input type="reset" value="Clear answers"/></p>
</form>
</body>
</html>
Please help me to know where error:confused:
thanks advanced