-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
71 lines (71 loc) · 2.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Hizih - Typing practice with codes</title>
<link rel="stylesheet" href="css/styles.css" />
<link
href="https://fonts.googleapis.com/css?family=Nunito:300,400,700,900|Roboto+Mono"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.0/css/all.css"
integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ"
crossorigin="anonymous"
/>
<link href="assets/favicon.ico" rel="icon" type="image/x-icon" />
</head>
<body>
<nav>
<div id="pictureAndName">
<img src="./assets/profile.png" alt="profile" width="30%" />
<h4>Anonymous</h4>
</div>
<div id="profileAndTopSpeeds">
<p><i class="fas fa-user-circle"></i>Profile</p>
<p><i class="fas fa-trophy"></i>Top Speeds</p>
</div>
<div id="socialNetwork">
<i class="fab fa-github"></i>
<i class="fab fa-gitlab"></i>
</div>
</nav>
<main>
<div
id="stats"
class="d-flex flex-direction-row justify-content-center align-items-center"
>
<div>
<p><strong>Total of characters:</strong> <span id="total">0</span></p>
<p>
<strong>Characters pressed:</strong> <span id="pressed">0</span>
</p>
<p>
<strong>Incorrectly pressed characters:</strong>
<span id="pressedIncorrectly">0</span>
</p>
<!-- <p>
<strong
><del>Character pressed incorrectly more times:</del></strong
>
<span id="pressedIncorrectlyMoreTimes"><del>0</del></span>
</p> -->
</div>
<div>
<p>
<strong>Speed:</strong>
<span id="speed">0</span> char/min
</p>
</div>
</div>
<div id="code">
<div id="lines"></div>
<div class="mask">Click to activated</div>
</div>
</main>
<script src="./js/readFile.js"></script>
</body>
</html>