-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (73 loc) · 2.89 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
<html lang="en">
<head>
<title>Quiz App</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="main.css">
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="/quiz-app">Test Your Basic MTG Knowledge!</a>
</div>
</div>
</nav>
<main class="container-fluid">
<section class="row">
<button type="button" class="btn btn-default" onclick="flip()">Keep flippin'</button>
<div class="card">
<div class="front">
<h3 class="cardback-title">Flip the card to start.</h3>
<img src="cardback.jpg" id="cardback" onclick="flip()">
</div>
<div class="back">
<section class="row text-center">
<form class="question-form text-left">
<h6 class="text-right">#1</h6>
<h3>Question 1</h3>
<div class="radio" id="answer-1">
<label>
<input value="Answer 1" name="answer" type="radio"> Answer 1
</label>
</div>
<div class="radio" id="answer-2">
<label>
<input value="Answer 2" name="answer" type="radio"> Answer 2
</label>
</div>
<div class="radio" id="answer-3">
<label>
<input value="Answer 3" name="answer" type="radio"> Answer 3
</label>
</div>
<div class="radio" id="answer-4">
<label>
<input value="Answer 4" name="answer" type="radio"> Answer 4
</label>
</div>
<button type="submit" class="btn btn-success pull-right submit-button" disabled>Submit</button>
<button type="button" class="btn btn-default prev-button">Previous</button>
</form>
</br>
<div class="alert hidden" id="pos-or-neg" role="alert">
Melody! You forgot to hook me up
</div>
<div class="results hidden" id="result">
<p class="num-correct">
3 out of 10.
</p>
<p class="result">
render result here
</p>
<p><a href="/quiz-app">Mulligan?</a></p>
</div>
</section>
</div>
</div>
</section>
</main>
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script type="text/javascript" src="app.js"></script>
</body>
</html>