-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz.html
247 lines (241 loc) · 14.1 KB
/
quiz.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!DOCTYPE html>
<html lang="sr-BA">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, nofollow, noarchive, notranslate, noimageindex">
<meta name="description" content="Ovdje možete provjeriti koliko dobro me poznajete">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/css/bootstrap.min.css">
<title>.::Balešević Srđan:: - ::Kviz::.</title>
<!-- <style>
@media only screen and (min-height: 1366px) {
body {
min-height: 1366px;
}
}
</style> -->
<script src="https://cdn.jsdelivr.net/npm/jquery@3/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4/dist/js/bootstrap.bundle.min.js"></script>
<!-- <script src="js/main.js" async></script> -->
<script>
(function (c, l, a, r, i, t, y) {
c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments) };
t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i;
y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "kqznn5sgf6");
</script>
</head>
<body>
<main>
<header class="jumbotron jumbotron-fluid">
<div class="row">
<div class="col-sm-2">
<img src="images/logo.png" class="mx-auto d-block img-fluid" alt="Moj logo">
</div>
<div class="col-sm-9">
<h1 id="welcome">
<span lang="sr">Dobrodošli na sajt</span>
<span lang="en">Welcome to the website</span>
</h1>
<p id="subtext">
<span lang="sr">Na ovom sajt možete saznati mnogo dodatnih informacija o meni</span>
<span lang="en">A lot of additional information can be found about me on this website</span>
</p>
</div>
<div class="col-sm-1">
<span class="fi fi-rs" lang="sr"></span>
<span class="fi fi-gb-eng" lang="en"></span>
</div>
</div>
</header>
<nav class="navbar navbar-expand-md bg-primary navbar-dark">
<button class="navbar-toggler" data-toggle="collapse" data-target="#collapsibleNavbar"><span
class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="index.html"><i
class="fa-solid fa-home"></i><span></span></a></li>
<li class="nav-item"><a class="nav-link" href="birthdaypresent.html"><i
class="fa-solid fa-gift"></i><span></span></a></li>
<li class="nav-item"><a class="nav-link" href="favmovie.html"><i
class="fa-solid fa-film"></i><span></span></a></li>
<li class="nav-item"><a class="nav-link" href="favtown.html"><i
class="fa-solid fa-city"></i><span></span></a></li>
<li class="nav-item"><a class="nav-link" href="hobby.html"><i
class="fa-solid fa-wrench"></i><span></span></a></li>
<li class="nav-item"><a class="nav-link" href="gallery.html"><i
class="fa-regular fa-images"></i><span></span></a></li>
<li class="nav-item"><a class="nav-link" href="quiz.html"><i
class="fa-solid fa-gamepad"></i><span></span></a></li>
<li class="nav-item"><a class="nav-link" href="sitemap.xml"><i
class="fa-solid fa-sitemap"></i><span></span></a></li>
</ul>
</div>
</nav>
<div class="container-fluid">
<p style="font: 25px Arial;"><span lang="sr">Koliko dobro me poznajete?</span><span lang="en">How well do
you know me?</span></p>
<form class="card-columns">
<div class="card">
<div class="card-header">1❩ <span lang="sr">Moj omiljeni grad?</span><span lang="en">My
favourite town?</span></div>
<div class="card-body">
<div class="form-check">
<input type="radio" name="pitanje1" id="odgovor11" value="BL">
<label for="odgovor11">Banja Luka</label>
</div>
<div class="form-check">
<input type="radio" name="pitanje1" id="odgovor12" value="BP">
<label for="odgovor12">Bačka Palanka</label>
</div>
<div class="form-check">
<input type="radio" name="pitanje1" id="odgovor13" value="BGD">
<label for="odgovor13"><span lang="sr">Beograd</span><span lang="en">Belgrade</span></label>
</div>
</div>
</div>
<div class="card">
<div class="card-header">2❩ <span lang="sr">Koliko posjedujem diploma iz srednje
škole?</span><span lang="en">How many diplomas do I have from secondary school?</span>
</div>
<div class="card-body">
<div class="form-check">
<input type="radio" name="pitanje2" id="odgovor21" value="Tri">
<label for="odgovor21"><span lang="sr">Tri</span><span lang="en">Three</span></label>
</div>
<div class="form-check">
<input type="radio" name="pitanje2" id="odgovor22" value="Jednu">
<label for="odgovor22"><span lang="sr">Jednu</span><span lang="en">One</span></label>
</div>
<div class="form-check">
<input type="radio" name="pitanje2" id="odgovor23" value="Dvije">
<label for="odgovor23"><span lang="sr">Dvije</span><span lang="en">Two</span></label>
</div>
</div>
</div>
<div class="card">
<div class="card-header">3❩ <span lang="sr">Koji od tri ponuđena laptopa mogu
izabrati?</span><span lang="en">Which of the three offered laptops should I choose?</span>
</div>
<div class="card-body">
<div class="form-check">
<input type="radio" name="pitanje3" id="odgovor31" value="Lenovo">
<label for="odgovor31">Lenovo</label>
</div>
<div class="form-check">
<input type="radio" name="pitanje3" id="odgovor32" value="Bilo koji">
<label for="odgovor32"><span lang="sr">Bilo koji</span><span lang="en">Either
one</span></label>
</div>
<div class="form-check">
<input type="radio" name="pitanje3" id="odgovor33" value="FSC">
<label for="odgovor33"><span lang="sr">Neki od <abbr
title="Kompanija koja je u periodu od 1999. do 2009. poslovala pod imenom "Fujitsu Siemens Computers"">FSC</abbr></span><span
lang="en">Anyone from <abbr
title="A company that operated form 1999. up untill 2009. under the name "Fujitsu Siemens Computers"">FSC</abbr></span></label>
</div>
</div>
</div>
<div class="card">
<div class="card-header">4❩ <span lang="sr">Koje mjesto sam osvojio u takmičenju m:tel
AppBuilder Lige za 2014. godinu u kategoriji "Edukacija i društvena
odgovornost"?</span><span lang="en">What place did I win in the 2014 m:tel AppBuilder
League competition in the "Education and Social Responsibility" category?</span></div>
<div class="card-body">
<div class="form-check">
<input type="radio" name="pitanje4" id="odgovor41" value="Trece">
<label for="odgovor41"><span lang="sr">Treće</span><span lang="en">Third</span>
</label>
</div>
<div class="form-check">
<input type="radio" name="pitanje4" id="odgovor42" value="Prvo">
<label for="odgovor42"><span lang="sr">Prvo</span><span lang="en">First</span></label>
</div>
<div class="form-check">
<input type="radio" name="pitanje4" id="odgovor43" value="Drugo">
<label for="odgovor43"><span lang="sr">Drugo</span><span lang="en">Second</span></label>
</div>
</div>
</div>
<div class="card">
<div class="card-header">5❩ <span lang="sr">Koje godine je objavljen moj omiljeni
film?</span><span lang="en">What year was my favorite movie released?</span>
</div>
<div class="card-body">
<div class="form-check">
<input type="radio" name="pitanje5" id="odgovor51" value="1999">
<label for="odgovor51">1999.</label>
</div>
<div class="form-check">
<input type="radio" name="pitanje5" id="odgovor52" value="1996">
<label for="odgovor52">1996.</label>
</div>
<div class="form-check">
<input type="radio" name="pitanje5" id="odgovor53" value="1998">
<label for="odgovor53">1998.</label>
</div>
</div>
</div>
<div class="card">
<div class="card-header">6❩ <span lang="sr">Koliko puta su me šili na hirurškom odjeljenju
dobojske bolnice?</span><span lang="en">How many times did I got stitched up by the surgeons
in Doboj's Hospital surgical department?</span></div>
<div class="card-body">
<div class="form-check">
<input type="radio" name="pitanje6" id="odgovor61" value="Cetiri">
<label for="odgovor61"><span lang="sr">Četiri</span><span lang="en">Four</span></label>
</div>
<div class="form-check">
<input type="radio" name="pitanje6" id="odgovor62" value="Dva">
<label for="odgovor62"><span lang="sr">Dva</span><span lang="en">Two</span></label>
</div>
<div class="form-check">
<input type="radio" name="pitanje6" id="odgovor63" value="Tri">
<label for="odgovor63"><span lang="sr">Tri</span><span lang="en">Three</span></label>
</div>
</div>
</div>
<div class="card">
<div class="card-header">7❩ <span lang="sr">Od kojeg pisca sam pročitao najveći broj
književnih djela?</span><span lang="en">By which writer have I read the most books?</span>
</div>
<div class="card-body">
<div class="form-check">
<input type="radio" name="pitanje7" id="odgovor71" value="VladaArsic">
<label for="odgovor71">Vlada Arsić</label>
</div>
<div class="form-check">
<input type="radio" name="pitanje7" id="odgovor72" value="DejanStojiljkovic">
<label for="odgovor72">Dejan Stojiljković</label>
</div>
<div class="form-check">
<input type="radio" name="pitanje7" id="odgovor73" value="BranislavJankovic">
<label for="odgovor73">Branislav Janković</label>
</div>
</div>
</div>
<button id="quizAnswerCheckBtn"><span lang="sr">Sačuvaj</span><span lang="en">Save</span></button>
<button id="resetQuiz" type="reset">Reset</button>
</form>
<p></p>
<p id="rezultat"></p>
</div>
</main>
<footer>
<h3 class="font-italic">
<span lang="sr">Balešević Srđan</span>
<span lang="en">Baleshevich Srdjan</span>
</h3>
<span id="datum"></span>
</footer>
<script>
$(document).ready(function () {
$.getScript("js/main.js");
});
$("div.card-header").addClass("font-weight-bold");
$("div.card-body").addClass("py-2");
$("input[type='radio']").addClass("form-check-input");
$("label").addClass("form-check-label");
</script>
</body>
</html>