-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (37 loc) · 1.21 KB
/
index.html
File metadata and controls
41 lines (37 loc) · 1.21 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Typing Game</title>
<link rel="stylesheet" href="./style.css" />
<script src="./script.js" defer></script>
</head>
<body>
<main>
<h1>Typing game!</h1>
<ul id="scores-unordered-list">
</ul>
<p>Practice your typing skills.<br>Type the highligted words as they appear.
<br>
Enter your name then click the start button to begin!
</p>
<div class="new">
<label class="sr-only" for="gamer-name">Enter your gamer name.</label>
<input type="text" id="gamer-name" placeholder="enter your name"></input>
<button type="button" class="button" id="start">start game <i class="rocket"></i></button>
</div>
<p id="quote"></p>
<p id="message"></p>
<label class="sr-only" for="typed-value">Type the quote.</label>
<input type="text" id="typed-value" />
</main>
</body>
<template id="score-item-template">
<li>
<label class="score">
<span class="score-text"></span>
</label>
</li>
</template>
</html>