CTET 2026 Mock Test 01
Mock Test – 10 Questions Demo
Language: Hindi | +1 correct, −0.25 wrong
00:10:00
Not visited
Visited
Answered
Marked for Review
";
html += "
Marks: "+marksStr+" / "+maxMarks+
" ( "+percent+"% )
";
html += "
Subject-wise Analysis
";
html += "
| Subject | Total | Correct | Wrong | Unattempted |
";
Object.keys(subjectStats).forEach(sub=>{
const st = subjectStats[sub];
html += "| "+sub+" | "+st.total+" | "+st.correct+
" | "+st.wrong+" | "+st.unattempted+" |
";
});
html += "
";
const box = document.getElementById('resultBox');
box.innerHTML = html;
box.style.display = "block";
document.getElementById('restartBtn').style.display = "block";
box.scrollIntoView({behavior:"smooth"});
}
/* RESTART */
function restartTest(){
quizSubmitted = false;
clearInterval(timer);
document.getElementById('resultBox').style.display = "none";
document.getElementById('restartBtn').style.display = "none";
// reset radios & colors
const radios = document.querySelectorAll('input[type="radio"]');
radios.forEach(r=>{ r.checked = false; });
const labels = document.querySelectorAll('label.option');
labels.forEach(l=>l.classList.remove('correct','wrong'));
initQuiz();
}
/* ON LOAD */
window.onload = function(){
initQuiz();
};