-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (40 loc) · 1.61 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
<!DOCTYPE html>
<html>
<head>
<title>
Typing Test By Shubham
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div id="head" class="navbar-header">
<a class="navbar-brand" href="#">TYPING SPEED TESTER</a>
</div>
</div>
</nav>
<div class="container">
<div id="hint-area">
<p>*text to be typed is displayed here</p>
</div>
<textarea class="form-control" rows="10" name="tyingArea" id="typingArea" onkeydown="testSpeed()"></textarea>
<br><br>
<button id="start" class="btn btn-default" type="submit" value="start">START TYPING</button>
<button id="stop" class="btn btn-default" type="submit" value="stop" >STOP TYPING</button> <br><br>
<div id="showSpeed">
</div>
<br>
<div id="result">
Results will be shown here:
</div>
</div>
</body>
<script src="js/index.js" type="text/javascript">
</script>
</html>