-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (56 loc) · 1.57 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The Mother of all quizzes</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<style type="text/css">
body {
margin: auto;
width: 50%;
padding: 10px;
}
img {
width: 70%;
}
#final-score {
display: none;
}
body {
background-image: url('./images/mb-kids.png');
background-size: cover;
}
#mainArea {
background-color: #f5f5f5a3;
border-radius: 5px;
margin: 25px;
padding: 16px;
}
#result {
font-weight: bold;
}
p {
font-size: large;
}
</style>
</head>
<body>
<div id="mainArea">
<h1>The Mother of All Quizzes</h1>
<p>Time to find out what kind of mother you really are…</p>
<br />
<div id="questionArea">
<h2>Question <span id="questionCount">1</span></h2>
<p id="question"></p>
<input type="text" id="answer" name="answer" autofocus><br><br>
<button class="btn btn-success" id="yesButton" onclick="checkAnswer(); askQuestion()">Submit</button>
</div>
<br><br>
<p id='result'></p>
<h2 id='final-score'></h2>
</div>
<script type="text/javascript" src="app.js"></script>
</body>
</html>