-
Notifications
You must be signed in to change notification settings - Fork 1
/
typeit.html
41 lines (31 loc) · 1.6 KB
/
typeit.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>typeit</title>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap" rel="stylesheet">
<link href="typeit.css" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
</head>
<body style="background-color: blue; background-image: url(back.png)">
<div class="row">
<div class="col-6 d-flex flex-row">
<h3 class="p-2 text-white ml-5 mt-3" style="font-size: 35px; font-weight: 900; font-family: 'Montserrat', sans-serif;">Type it</h3>
</div>
<div class="col-6 p-1">
<button id="restart" type="button" class="btn pr-4 mr-5 mt-4 rounded-pill pl-4 pr-4 float-right shadow-lg hover btn-primary">Restart</button>
</div>
</div>
<div class="utilities">
<div class="timer" id="timer">Timer : 00</div>
<div id="wpm">WPM : 0</div>
<div id="accuracy">Accuracy : 0</div>
</div>
<div id="container">
<div id="paragraph">Just a sec getting your text ready...</div>
<textarea id="user_text" class ="user-text"></textarea>
</div>
<script type="text/javascript" src="typeit.js" defer></script>
</body>
</html>