-
Notifications
You must be signed in to change notification settings - Fork 0
/
index1.html
77 lines (67 loc) · 3.77 KB
/
index1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap" rel="stylesheet">
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN"
crossorigin="anonymous"></script>
</head>
<body onload="init()">
<div class="content">
<div class="quiz-mask">
<div class="card rounded-start"
style="width: 18rem; background-image: none; background-color: #27355C; display: flex; justify-content: space-around; align-items: center;">
<img src="Quizapp/logo.png" class="card-img-top" style="width: 60%;">
<ul class="list-group list-group-flush">
<li class="list-group-item list-group-selected ">Anatomy</li>
<li class="list-group-item">Biology</li>
<li class="list-group-item">Training</li>
<li class="list-group-item">Nutrition</li>
</ul>
</div>
<div class="card rounded-end">
<div class="card-body" id="question-content">
<div class="question"> <b id="current-question"></b></div>
<div class="answers-option">
<div class="option-letter">A</div>
<div class="option-answer" onclick="showAnswers('answer_1')" id="answer_1"></div>
</div>
<div class="answers-option">
<div class="option-letter">B</div>
<div class="option-answer" onclick="showAnswers('answer_2')" id="answer_2"> </div>
</div>
<div class="answers-option">
<div class="option-letter">C</div>
<div class="option-answer" onclick="showAnswers('answer_3')" id="answer_3"></div>
</div>
<div class="answers-option">
<div class="option-letter">D</div>
<div class="option-answer" onclick="showAnswers('answer_4')" id="answer_4"></div>
</div>
</div>
<div style="display: flex; justify-content: space-between; margin-bottom: 20px;">
<div>Frage <b id="question-number">1</b> von <b id="all-question"></b> </div>
<button id="next-btn" onclick="nextQuestion()" disabled class="btn btn-primary">Next
Question</button>
</div>
<div class="progress">
<div class="progress-bar" id="progress-bar" role="progressbar" style="width: 25%;" aria-valuenow="25" aria-valuemin="0" aria-valuemax="100">0%</div>
</div>
</div>
</div>
</div>
</body>
</html>