-
Notifications
You must be signed in to change notification settings - Fork 58
/
index.html
67 lines (55 loc) · 2.74 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Basic Page Needs
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta charset="utf-8">
<title>WikiQuiz</title>
<meta name="description" content="For Volley, From Alex">
<meta name="author" content="Alex Greene">
<!-- Mobile Specific Metas
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- CSS
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/skeleton.css">
</head>
<body>
<!-- Primary Page Layout
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
<div class="container">
<div class="row">
<div class="two columns" style="margin-top: 5%">
<h5>WikiQuiz</h5>
</div>
<div class="ten columns" style="margin-top: 5%">
<div class="eight columns">
<input class="u-full-width" id="article_name_input" type="text" placeholder="Type article name (ie. Honda, starfish, baseball)">
</div>
<div class="two columns">
<button onclick="new_article_query()">Quiz Me!</button>
</div>
</div>
</div>
<div class="row">
<div class="twelve column" style="margin-top: 5%">
<h3 id="article_name">Welcome!</h3>
<p id="question_body">This is WikiQuiz. Enter the name of a wikipedia article at the top of this page, and we'll generate some fill-in-the-blank questions to test your knowledge of the dates/things/people/places it mentions. If the question doesn't seem like it was generated correctly, just click next question!</p>
</div>
<div class="row">
<button id="answer_a" onclick="answered_a()">A</button>
<button id="answer_b" onclick="answered_b()">B</button>
<button id="answer_c" onclick="answered_c()">C</button>
<h3 id="answer_response_label" style="margin-top: 5%"> ... Answer Response Here ...</h3>
</div>
<div class="row">
<button id="next_question_btn" onclick="load_question()">Next Question ></button>
</div>
</div>
</div>
<!-- End Document
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
<script src="script.js"></script>
</html>