-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
61 lines (53 loc) · 1.9 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
<!DOCTYPE html>
<html>
<head>
<title>Flash Card App</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="index.css">
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
</head>
<body>
<main>
<div>
<form id="myForm">
<select id="categoryID">
<option value="All" selected>All Questions</option>
<option value="GameOfThrones">Movies</option>
<option value="Geography">Geography</option>
</select>
</form>
<div class="delButton">
<button id="delB" type="default" onclick="deleteQuestion()">DELETE</button>
</div>
<h1 id="h1">CLICK FOR QUESTION</h1>
</div>
<div class="showAnswer">
<button type="default" onclick="showAnswer()">SHOW ANSWER</button>
</div>
<h2 id="h2">ANSWER</h2>
<div class="addBox">
<form onsubmit="addQuestion(); return false">
<div class="formSection">
<label for="question">Question:</label>
<textarea id="question"></textarea>
</div>
<div class="formSection">
<label for="answer">Answer:</label>
<textarea id="answer"></textarea>
</div>
<div class="formSection">
<label for="category">Category:</label>
<textarea id="category"></textarea>
</div>
<div class="button">
<button type="default">ADD</button>
</div>
</form>
</div>
</main>
<footer>
<p>Made with ❤ at Codaisseur</p>
</footer>
<script src="index.js"></script>
</body>
</html>