`;
shuffle([...mcq.o]).forEach(opt=>{
let div=document.createElement("div");
div.className="mcq-option";
div.innerText=opt.t;
div.onclick=()=>mark(div,opt.c,box);
box.appendChild(div);
});
container.appendChild(box);
});
function mark(option,isCorrect,box){
box.querySelectorAll(".mcq-option").forEach(o=>o.classList.remove("correct","wrong"));
option.classList.add(isCorrect?"correct":"wrong");
}