html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
<!-- Test Your Typing Speed with this Web App -->
<!-- For a better experience play on a PC -->
<!DOCTYPE html>
<html>
<head>
<title>Typing Speed</title>
</head>
<body>
<script>
start();
</script>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
body{
background: #505050;
font-family: Sans-Serif;
}
Enter to Rename, Shift+Enter to Preview
js
js
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
//holds the language of the typing (the default is english)
var lang = "english";
//holds all the records to all the languages with the respective language and its record
var records = [
["english",0],
["french",0],
["german",0],
["italian",0],
["portuguese",0],
["spanish",0]
];
//called when the web application starts
function start()
{
startMenu();
}
//shows the start menu
function startMenu()
{
//creates the main container of this menu
var container = createContainer("0%","0%","100%","100%","startMenu");
document.body.appendChild(container);
//creates the main title
var title = document.createElement("h1");
container.appendChild(title);
//sets all the elements inside the container to align to the center
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run