';
// ********************************** add/subtract (var "cor"s = 0) to go along with the number of questions
var cora = 0;
var corb = 0;
var corc = 0;
var cord = 0;
var core = 0;
var corf = 0;
var corg = 0;
var corh = 0;
var cori = 0;
var corj = 0;
if (noa < 1){
var cora = 1;
}
if (nob < 1){
var corb = 1;
}
if (noc < 1){
var corc = 1;
}
if (nod < 1){
var cord = 1;
}
if (noe < 1){
var core = 1;
}
if (nof < 1){
var corf = 1;
}
if (nog < 1){
var corg = 1;
}
if (noh < 1){
var corh = 1;
}
if (noi < 1){
var cori = 1;
}
if (noj < 1){
var corj = 1;
}
// ********************************** change the number (2) to (the correct number of questions - 1)
if (cnta + cntb + cntc + cntd + cnte + cntf + cntg + cnth + cnti + cntj > 9){
// ********************************** add/subtract "+ cor(s)" to go along with the number of questions
var correct = (cora + corb + corc + cord + core + corf + corg + corh + cori + corj);
// ********************************** change number (3) to go along with the number of questions
var score =(correct / 10) * 100;
correctPage += 'Score: ' + score + ' %';
correctPage += '