-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddQuestions.html
131 lines (113 loc) · 6.22 KB
/
addQuestions.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Add A Question</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="main.js"></script>
<script src='https://code.jquery.com/jquery-3.3.1.min.js' integrity='sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8='
crossorigin='anonymous'></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
</head>
<body>
<nav class="navbar navbar-dark bg-dark">
<a class=" navbar-brand" href="./index.html">Spartacus Trivia</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="./index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Sign In</a>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="jumbotron">Add Questions to your game.</div>
<form>
<div class="form-group">
<label for="exampleFormControlInput1">Question Title</label>
<input type="text" class="form-control" id="questionTitle" placeholder="Who has the most homeruns in MLB history?">
</div>
<div class="form-group">
<label for="exampleFormControlSelect1">Question Type</label>
<select class="form-control" id="exampleFormControlSelect1">
<option>Select an option</option>
<option>True/False</option>
<option>Multiple Choice</option>
<option>Fill in the blank</option>
</select>
</div>
<div class="form-group">
<label for="exampleFormControlInput1">Answer 1</label>
<input type="text" class="form-control" id="questionTitle" placeholder="Babe Ruth">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Correct Answer
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="option2" autocomplete="off"> Incorrect Answer
</label>
</div>
</div>
<div class="form-group">
<label for="exampleFormControlInput1">Answer 2</label>
<input type="text" class="form-control" id="questionTitle" placeholder="Hank Aaron">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Correct Answer
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="option2" autocomplete="off"> Incorrect Answer
</label>
</div>
</div>
<div class="form-group">
<label for="exampleFormControlInput1">Answer 3</label>
<input type="text" class="form-control" id="questionTitle" placeholder="Barry Bonds">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Correct Answer
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="option2" autocomplete="off"> Incorrect Answer
</label>
</div>
</div>
<div class="form-group">
<label for="exampleFormControlInput1">Answer 4</label>
<input type="text" class="form-control" id="questionTitle" placeholder="Frank Thomas">
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-secondary active">
<input type="radio" name="options" id="option1" autocomplete="off" checked> Correct Answer
</label>
<label class="btn btn-secondary">
<input type="radio" name="options" id="option2" autocomplete="off"> Incorrect Answer
</label>
</div>
</div>
<a href="./viewAllQuestions.html">
<button type="button" class="btn btn-info">View All Questions</button>
</a>
<button type="button" class="btn btn-light">Add Another Question</button>
<a href="./myGames.html">
<button type="button" class="btn btn-dark">Finished</button>
</a>
</form>
</div>
</body>
</html>