p6/7 started (Freezing due to no experience in redux)

This commit is contained in:
2026-04-16 22:52:43 +10:00
parent 4f8f033306
commit 0b76fc69e5
12 changed files with 420 additions and 7 deletions

View File

@@ -0,0 +1,64 @@
export type tTasks ={
"question": string; /* вопрос задания*/
"answer": string; /* ответ задания*/
}[]
export type tQuizzes = {
"id": number,
"type": "M" | "S", /* типы заданий, М - сопоставление*/
"title": string, /* формулировка задания */
"tasks": tTasks,
}[];
export const quiz: tQuizzes = [
{
"id": 1,
"type": "M",
"title": "Сопоставьте сооружение и город, в котором оно расположено.",
"tasks": [
{
"question": "Башня Аль-Хамра",
"answer": "Кувейт"
},
{
"question": "Башня CITIC",
"answer": "Гуанчжоу"
},
{
"question": "Телебашня «Коктобе»",
"answer": "Алматы"
},
{
"question": "Си-Эн Тауэр",
"answer": "Торонто"
},
]
},
{
"id": 2,
"type": "M",
"title": "Сопоставьте сооружение и его высоту.",
"tasks": [
{
"question": "Tokyo Skytree",
"answer": "634"
},
{
"question": "Бурдж-Халифа",
"answer": "838"
},
{
"question": "Эмпайр-стейт-билдинг",
"answer": "448.7"
},
{
"question": "Останкинская башня",
"answer": "540.1"
},
{
"question": "Lotte World Tower",
"answer": "555"
},
]
}
]