-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
96 lines (85 loc) · 3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Typing Speed Test Game</title>
<!-- Icons links -->
<link href='https://css.gg/sun.css' rel='stylesheet'>
<link href='https://css.gg/moon.css' rel='stylesheet'>
<!-- Main CSS File -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Start The Game -->
<div class="game">
<div class="name">Typing Speed Test Game</div>
<div class="container">
<!-- Start Initial State -->
<div class="message">
You Are Playing On
<select id="selectLevels">
<optgroup>
<option value="Easy">Easy</option>
<option value="Normal">Normal</option>
<option value="Hard">Hard</option>
</optgroup>
</select> Level
& You Have <span class="seconds"></span> Seconds To Type The Word
</div>
<div class="start">Start Playing</div>
<div class="the-word"></div>
<!-- End Initial State -->
<!-- Start Input Field State -->
<input type="text" class="input" />
<!-- End Input Field State -->
<!-- Start Upcoming-Words -->
<div class="upcoming-words">Words Will be shown Here !</div>
<!-- End Upcoming-Words -->
<!-- Start Game State -->
<div class="control">
<div class="time">Time Left: <span></span> Seconds</div>
<div class="score">
Score: <span class="got">0</span> From <span class="total"></span>
</div>
</div>
<div class="finish"></div>
<!-- End Game State -->
<!-- Start Game Instructions -->
<div class="game-instructions">
<span>Game Instructions:</span>
<p>- When you choose a level Or let the default level(Easy)
and Start the Game, the counter countdown to zero.(you have +3 seconds for the first word in every
new play)</p>
<p>- A set of words will appear to you based on the level you have chosen.</p>
<p>- If the counter finished before writing the word or you didn't wrote it right,
you lose!.</p>
<p>- Your score, level and the date will be saved in the score sheet table in the below and you can see
them later.</p>
<p>- The results in the score sheet table are arranged in descending order with respect to the date.</p>
<p>- You can arrange the scores by (level - score - date) by clicking on any of them.</p>
</div>
<!-- End Game Instructions -->
<!-- Start ScoreSheet -->
<table class="score-sheet">
<thead>
<th>level</th>
<th>score</th>
<th>date</th>
</thead>
<td class="no-score-saved" colspan="3">your score will be shown here!</td>
</table>
<!-- End ScoreSheet -->
</div>
<!-- Start Scroll to top button -->
<button class="scroll-top-btn">UP</button>
<!-- End Scroll to top button -->
<!-- Start theme Changer button -->
<button class="theme-changer"><i class="gg-moon"></i></button>
<!-- End theme Changer button -->
</div>
<!-- End The Game -->
<script src="js/main.js"></script>
</body>
</html>