-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
234 lines (212 loc) · 10.8 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<html>
<head>
<title>Spelling Bee Trainer</title>
<meta charset="UTF-8" />
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous">
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
.flex-container {
display: flex;
background-color: DodgerBlue;
}
.flex-container>div {
background-color: #f1f1f1;
margin: 10px;
padding: 20px;
font-size: 30px;
}
.flex-column {
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
.flex-container-words {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-content: flex-start;
align-content: space-between;
}
.flex-container-words>label {
margin: 10px;
}
button:disabled,
button[disabled] {
border: 1px solid #999999;
background-color: #cccccc;
color: #666666;
}
</style>
</head>
<body>
<div class="container"
id="mainHeader">
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-4">Spelling Bee Trainer</h1>
<p class="lead"
id="text">Welcome to Spelling Bee Trainer Program.
Are you ready for Practicing all your words today?</p>
</div>
</div>
<div id="support"
class="d-none"></div>
<div class="text-center">
<div class="btn-group"
align="center"
role="group"
aria-label="Basic example">
<button type="button"
class="btn btn-primary"
id="play">Play Instructions</button>
<button type="button"
class="btn btn-secondary "
id="pause">Pause</button>
<button type="button"
class="btn btn-secondary "
id="resume">Resume</button>
</div>
</div>
</div>
<br />
<div class="progress d-none"
id="progressBar">
<div class="progress-bar progress-bar-striped bg-success"
id="progressCounter"
role="progressbar"
style="width: 0%"
aria-valuenow="0"
aria-valuemin="0"
aria-valuemax="100"></div>
</div>
<div class="alert alert-success d-none"
id="msgAllGood"
role="alert">
<h4 class="alert-heading">Well done!</h4>
<p>You Completed your Training Successfully Today!! With a clean Slate</p>
<hr>
<p class="mb-0">You can Practice again by refreshing the Page.</p>
</div>
<div class="alert alert-danger d-none"
id="msgGameOver"
role="alert">
<h4 class="alert-heading">Sorry!!</h4>
<p>All your Lifelines got over. Better luck next time.</p>
<hr>
<p class="mb-0">You can Practice again by refreshing the Page.</p>
</div>
<br />
<!-- START: Training ARENA-->
<div class="flex-container d-none"
id="trainingArena">
<!-- START: SPELLING BEE CENTER-->
<div style="flex: 0 0 650px">
<div>
<div class="alert alert-primary text-center"
role="alert">
<span class="display-5"><strong>Training Arena</strong></span>
</div>
<div class="text-center">
<button id="startMyTraining"
class="btn btn-success">Start My Training</button>
<br> <br>
<div class="form-group">
<input class="form-control"
id="inputAnswer"
type="text"
spellcheck="false"
data-gramm="false"
placeholder="Enter the Word Spoken">
<small id="emailHelp"
class="form-text text-muted">Type the word in the above textbox and press submit</small>
</div>
<button type="button" id="submitAnswer"
class="btn btn-primary"> Submit Answer </button>
</div>
<br>
<button type="button"
class="btn btn-primary">
<i class="fa fa-star" aria-hidden="true"></i>
Score <span class="badge badge-light"
id="scoreCounter">0</span>
</button>
<button type="button"
class="btn btn-warning">
<i class="fa fa-ban" aria-hidden="true"></i>
Wrong Attempts <span class="badge badge-light"
id="currentWrongAttempts">0</span>
<span class="sr-only">unread messages</span>
</button>
<button type="button"
class="btn btn-danger">
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>
Total Wrong Attempts <span class="badge badge-light"
id="wrongAttempts">0</span>
<span class="sr-only">unread messages</span>
</button>
</div>
</div>
<!-- END: SPELLING BEE CENTER-->
<!-- START: WORDS ARENA-->
<div style="flex-grow: 8">
<div class="flex-column">
<div class="alert alert-primary text-center"
role="alert">
<span class="display-5"><strong>Words</strong></span>
<span class="badge badge-light d-none"
id="totalWordsAttempted">0</span>
<span class="d-none"
id="scoreDivider"> <strong>/</strong></span>
<span class="badge badge-light d-none"
id="totalWordsAvailable">0</span>
</div>
<div class="flex-container-words"
id="wordsDisplayArea">
</div>
</div>
</div>
</div>
<!-- END: Training ARENA-->
<!-- <div class="container d-none" id="trainingArena">
<div class="alert alert-primary text-center"
role="alert">
<span class="display-5"><strong>Training Arena</strong></span>
</div>
<div class="text-center">
<button id="startMyTraining"
class="btn btn-success">Start My Training</button>
<br /> <br />
<div class="form-group">
<input class="form-control"
id="inputAnswer"
type="text"
spellcheck="false"
data-gramm="false"
placeholder="Enter the Word Spoken" />
<small id="emailHelp"
class="form-text text-muted">Type the word in the above textbox and press submit</small>
</div>
<button id="submitAnswer"
class="btn btn-primary disabled"> Submit Answer </button>
</div>
<br>
<button type="button" class="btn btn-primary">
Current Score <span class="badge badge-light" id="scoreCounter">0</span>
<span class="sr-only">unread messages</span>
</button>
<button type="button" class="btn btn-warning">
Current Wrong Attempts <span class="badge badge-light" id="currentWrongAttempts">0</span>
<span class="sr-only">unread messages</span>
</button>
<button type="button" class="btn btn-danger">
Total Wrong Attempts <span class="badge badge-light" id="wrongAttempts">0</span>
<span class="sr-only">unread messages</span>
</button>
</div> -->
<script src="src/app.js"></script>
</body>
</html>