elements with CSS for centering
@@ -231,12 +232,12 @@ function QuestionPaperPreview(jsonData){
// questionGroupMark = questionGroupMark.replace('
')
// }
- questionPaper += `
${questionId})${questionGroupmodify}
`
questionPaper += `
${questionGroupAttempt}${questionGroupMark}
`;
// questionPaper += `
${questionGroupAttempt}
`;
- questionPaper += `
${questionGroupDescription}
`;
+ questionPaper += `
${questionGroupDescription}
`;
depth2++
} else if (question.question) {
@@ -328,6 +329,7 @@ function QuestionPaperPreview(jsonData){
const alphabetOptions = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; // Define the alphabet options
for (let i = 0; i < answers.length; i++) { // change the i +=2 aadhavan
+ // console.log(answers);
const optionA = alphabetOptions[i];
// const optionB = alphabetOptions[i + 1];
@@ -337,9 +339,9 @@ function QuestionPaperPreview(jsonData){
const answerA = answers[i] ? `${optionA}. ${convertToLatex(answers[i].choice_name, math)}` : '';
// const answerB = answers[i + 1] ? `${optionB}. ${convertToLatex(answers[i + 1].choice_name, mathstatus)}` : '';
if (multipleAnswer == 'false') {
- questionPaper += `
`;
}else{
- questionPaper += `
`;
}
}
}
diff --git a/QuestionPreview.html b/QuestionPreview.html
index dd12c6b..5880bcc 100644
--- a/QuestionPreview.html
+++ b/QuestionPreview.html
@@ -53,8 +53,25 @@
+