-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (26 loc) · 1.07 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
<!DOCTYPE html>
<html>
<head>
<title>Typing Speed</title>
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<div class="mainDiv">
<div class="centerDiv">
<h1>Welcome To Typing Speed Test</h1>
<h2 id="msg"></h2><br>
<textarea id="mywords" cols="100" rows="10" placeholder="remember, be nice!"></textarea><br>
<button id="btn" class="mainbtn">Start</button>
</div>
</div>
</body>
<script type="text/javascript" src="index.js"></script>
</html>
<!-- DYNAMIC TYPING TEST STEP
1. When user pressed start button then only active the textarea else disable it and vice-versa.
2. Every time a set of line on top. Whenever the start button is pressed.not the done one.
3. Get the time and change the button text to done.
4. get the end time when user clicked on done button.find the total time taken.
5. Find the total words on the setofwords.
6. Find the speed of the user and show it on top when user clicked on done.
7. then call the camparewords fun and find how many of words are matching and how many not.Dispaly the result on top with speed. -->