backup
This commit is contained in:
92
site/src/quiz/quizData.tsx
Normal file
92
site/src/quiz/quizData.tsx
Normal file
@@ -0,0 +1,92 @@
|
||||
export type tTasks ={
|
||||
"question": string; /* вопрос задания*/
|
||||
"answer": string|number|boolean; /* ответ задания*/
|
||||
}[]
|
||||
|
||||
export type tQuizzes = {
|
||||
"id": number,
|
||||
"type": "M" | "S" | "C", /* Match Sort Choose*/
|
||||
"title": string, /* формулировка задания */
|
||||
"tasks": tTasks,
|
||||
}[];
|
||||
|
||||
export const quiz: tQuizzes = [
|
||||
{
|
||||
"id": 1,
|
||||
"type": "M",
|
||||
"title": "вопросй",
|
||||
"tasks": [
|
||||
{
|
||||
"question": "адын?",
|
||||
"answer": "адын"
|
||||
},
|
||||
{
|
||||
"question": "2",
|
||||
"answer": "2"
|
||||
},
|
||||
{
|
||||
"question": "3",
|
||||
"answer": "3"
|
||||
},
|
||||
{
|
||||
"question": "4",
|
||||
"answer": "4"
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "S",
|
||||
"title": "Вопрос 2 СОРТИРУЙ",
|
||||
"tasks": [
|
||||
{
|
||||
"question": "1",
|
||||
"answer": 1
|
||||
},
|
||||
{
|
||||
"question": "22",
|
||||
"answer": 2
|
||||
},
|
||||
{
|
||||
"question": "333",
|
||||
"answer": 3
|
||||
},
|
||||
{
|
||||
"question": "4444",
|
||||
"answer": 4
|
||||
},
|
||||
{
|
||||
"question": "5555",
|
||||
"answer": 5
|
||||
},
|
||||
]
|
||||
}
|
||||
,
|
||||
{
|
||||
"id": 2,
|
||||
"type": "C",
|
||||
"title": "Вопрос 3 Выбирай!",
|
||||
"tasks": [
|
||||
{
|
||||
"question": "да",
|
||||
"answer": true
|
||||
},
|
||||
{
|
||||
"question": "нет",
|
||||
"answer": false
|
||||
},
|
||||
{
|
||||
"question": "и снова да",
|
||||
"answer": true
|
||||
},
|
||||
{
|
||||
"question": "нет",
|
||||
"answer": false
|
||||
},
|
||||
{
|
||||
"question": "дааа",
|
||||
"answer": true
|
||||
},
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user