forked from tully4school/Javascript-Flashcards
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (125 loc) · 4.83 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<title>Javascript Flashcards</title>
</head>
<body>
<main>
<div class="top">
<!-- NAVBAR HIDDEN AT 761PX -->
<div class="navbar">
<div class="dropdown">
<button class="dropbtn">Vocabulary</button>
<div class="dropdown-content">
<button class="linkbtn" data-category="basic">Basic Vocabulary</button>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Operators</button>
<div class="dropdown-content">
<button class="linkbtn" data-category="basic-operators">Basic Operators</button>
<button class="linkbtn" data-category="ternary-operators">Ternary Operators</button>
<button class="linkbtn" data-category="bitwise-operators">Bitwise Operators</button>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Functions</button>
<div class="dropdown-content">
<button class="linkbtn" data-category="output-data">Outputting Data</button>
<button class="linkbtn" data-category="global-functions">Global Functions</button>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Arrays</button>
<div class="dropdown-content">
<button class="linkbtn" data-category="array-methods">Array Methods</button>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Strings</button>
<div class="dropdown-content">
<button class="linkbtn" data-category="string-methods">String Methods</button>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">Numbers && Math</button>
<div class="dropdown-content">
<button class="linkbtn" data-category="number-methods">Number Methods</button>
<button class="linkbtn" data-category="math-methods">Math Methods</button>
</div>
</div>
<div class="dropdown">
<button class="dropbtn">THE DOM</button>
<div class="dropdown-content">
<button class="linkbtn" data-category="dom-node-prop">DOM Node Properties</button>
<button class="linkbtn" data-category="dom-methods">DOM Node Methods</button>
<button class="linkbtn" data-category="element-methods">DOM Element Methods</button>
</div>
</div>
</div>
</div>
<!-- NAVBAR END -->
<div class="mobilenav">
<button class="mobile-drop">Categories</button>
<div class="dropContainer hidden">
<button class="linkbtn mobileDD hidden" data-category="basic">Basic Vocabulary</button>
<button class="linkbtn mobileDD hidden" data-category="basic-operators">Basic Operators</button>
<button class="linkbtn mobileDD hidden" data-category="ternary-operators">Ternary Operators</button>
<button class="linkbtn mobileDD hidden" data-category="bitwise-operators">Bitwise Operators</button>
<button class="linkbtn mobileDD hidden" data-category="output-data">Outputting Data</button>
<button class="linkbtn mobileDD hidden" data-category="global-functions">Global Functions</button>
<button class="linkbtn mobileDD hidden" data-category="array-methods">Array Methods</button>
<button class="linkbtn mobileDD hidden" data-category="string-methods">String Methods</button>
<button class="linkbtn mobileDD hidden" data-category="number-methods">Number Methods</button>
<button class="linkbtn mobileDD hidden" data-category="math-methods">Math Methods</button>
<button class="linkbtn mobileDD hidden" data-category="dom-node-prop">DOM Node Properties</button>
<button class="linkbtn mobileDD hidden" data-category="dom-methods">DOM Node Methods</button>
<button class="linkbtn mobileDD hidden" data-category="element-methods">DOM Element Methods</button>
</div>
</div>
<div class="difficulty">
<button class="easy">Easy</button>
<button class="medium">Medium</button>
<button class="hard">HARD</button>
</div>
<div class="card-container">
<div class="click flipper">
<div class="front-of-card">
<p class="greeting"></p>
<p class="question"></p>
</div>
<div class="back-of-card">
<p class="rules"></p>
<p class="answer"></p>
</div>
</div>
</div>
<div class="points">
<p>Your Score</p>
<div class="score">
<p class="digits"></p>
</div>
</div>
<div class="score-buttons">
<div class="pass">
<button class="correct">I Got It Right!</button>
</div>
<div class="fail">
<button class="wrong">I Got It Wrong</button>
</div>
</div>
<div class="moveOn">
<div class="back">
<button class="previous">Previous Card</button>
</div>
<div class="forward">
<button class="next">Next Card</button>
</div>
</div>
</main>
<script src="main.js"></script>
<script src="questions.js"></script>
</body>
</html>