import { QuestionTypes } from '../utils'; import type { ExerciseTemplate } from '$lib/utils/types'; const template: ExerciseTemplate = { title: 'HTML Blocks Quiz', description: 'Test your knowledge of HTML blocks', questionnaire: { questions: [ { title: 'Which HTML tag is used to define an HTML block?', name: 'q1', points: 1, order: 0, question_type: QuestionTypes[0], // RADIO options: [ { label: '', is_correct: false }, { label: '
', is_correct: true }, { label: '
', is_correct: false } ] }, { title: 'What is the purpose of the HTML
element?', name: 'q2', points: 1, order: 1, question_type: QuestionTypes[2], // TEXTAREA options: [] }, { title: 'Which HTML tag is used to define a paragraph?', name: 'q3', points: 1, order: 2, question_type: QuestionTypes[0], // RADIO options: [ { label: '

', is_correct: true }, { label: '', is_correct: false }, { label: '', is_correct: false } ] }, { title: 'How can you make text bold in HTML?', name: 'q4', points: 1, order: 3, question_type: QuestionTypes[1], // CHECKBOX options: [ { label: 'By using the tag', is_correct: true }, { label: 'By using the tag', is_correct: false }, { label: 'By using CSS styling', is_correct: true } ] }, { title: 'What is the purpose of the HTML

element?', name: 'q5', points: 1, order: 4, question_type: QuestionTypes[2], // TEXTAREA options: [] }, { title: 'Which HTML tag is used to define a line break?', name: 'q6', points: 1, order: 5, question_type: QuestionTypes[0], // RADIO options: [ { label: '', is_correct: false }, { label: '', is_correct: false }, { label: '
', is_correct: true } ] }, { title: 'How do you create a hyperlink in HTML?', name: 'q7', points: 1, order: 6, question_type: QuestionTypes[1], // CHECKBOX options: [ { label: 'By using the tag', is_correct: true }, { label: 'By using the tag', is_correct: false }, { label: 'By using the tag', is_correct: false } ] }, { title: 'What is the purpose of the HTML