-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathindex.html
More file actions
57 lines (48 loc) · 2.09 KB
/
index.html
File metadata and controls
57 lines (48 loc) · 2.09 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Personality Quiz</title>
<link rel="icon" type="image/x-icon" href="/img/ideas.png">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.5/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-SgOJa3DmI69IUzQ2PVdRZhwQ+dy64/BUtbMJw1MZ8t5HZApcHrRKUc4W0kG879m7" crossorigin="anonymous">
<link rel="stylesheet" href ="./css/style.css">
</head>
<body>
<h1 class="text-center mt-4">YOUR QUIZ TITLE HERE</h1>
<!-- Start quiz element -->
<div class="container d-flex justify-content-center" id="question-1">
<div class="card my-4 p-4 question-block" style="width: 75%;">
<h4 class="mb-3">YOUR QUIZ QUESTION HERE</h4>
<div class="row g-2">
<div class="col-6">
<button class="btn btn-outline-primary w-100 answer-btn" data-answer="A">ANSWER CHOICE A</button>
</div>
<div class="col-6">
<button class="btn btn-outline-primary w-100 answer-btn" data-answer="B">ANSWER CHOICE B</button>
</div>
<div class="col-6">
<button class="btn btn-outline-primary w-100 answer-btn" data-answer="C">ANSWER CHOICE C</button>
</div>
<div class="col-6">
<button class="btn btn-outline-primary w-100 answer-btn" data-answer="D">ANSWER CHOICE D</button>
</div>
</div>
</div>
</div>
<!-- End quiz element -->
<!-- Add more quiz elements here -->
<div class="container d-flex justify-content-center">
<button id="show-result" class="btn btn-success my-4">Show Results</button>
</div>
<!-- Output the result here -->
<div class="container d-flex justify-content-center">
<div id="result-container" class="card p-4 mb-4" style="width: 75%; display: none;">
<h3>Your Result:</h3>
<p id="result-text"></p>
</div>
</div>
<!-- Connect to your script file here -->
<script src = "./js/script.js"></script>
</body>
</html>