-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (81 loc) · 3.8 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<title>Quiz Web</title>
</head>
<body>
<!----Thats the top most section -->
<div class="intro bg-white py-3 text-center">
<div class="container">
<h3 class="text-primary dislay-3 my-4">My First Quiz</h3>
</div>
</div>
<!-- result section -->
<div class="result py-4 d-none bg-light text-center">
<div class="container lead">
<p>You are <span class="text-primary display-4 p-3">0%</span> Legend</p>
</div>
</div>
<!-- Quiz Starts here-->
<div class="quiz py-4 bg-primary">
<div class="container">
<h2 class="my-5 text-white"> Start with the nice questions</h2>
<form class="quiz-form text-light">
<div class="my-5">
<p class="lead font-weight-normal">1-Can you name the Capital of France?</p>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q1" value="A" checked>
<label class="form-check-label">London</label>
</div>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q1" value="B">
<label class="form-check-label">Paris</label>
</div>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q1" value="C">
<label class="form-check-label">Belrin</label>
</div>
</div>
<div class="my-5">
<p class="lead font-weight-normal">2-Leipzig is situated in ?</p>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q2" value="A">
<label class="form-check-label">France</label>
</div>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q2" value="B">
<label class="form-check-label">Italy</label>
</div>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q2" value="C">
<label class="form-check-label">Germany</label>
</div>
</div>
<div class="my-5">
<p class="lead font-weight-normal">3-Who is the President of USA?</p>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q3" value="A">
<label class="form-check-label">Donald Trump</label>
</div>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q3" value="B">
<label class="form-check-label">Boris Johnson</label>
</div>
<div class="form-check my-2 text-white-50">
<input type="radio" name="q3" value="C">
<label class="form-check-label">None of the above</label>
</div>
</div>
<div class="text-center">
<input type="submit" class="btn btn-light">
</div>
</form>
</div>
</div>
<script src="quiz.js"></script>
</body>
</html>