-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (35 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="index.js"></script>
<style>
body {
transition: 100ms;
background-color: rgb(30, 30, 30);
color: white;
}
.bg-red {
background-color: rgb(211, 0, 0);
}
.bg-green {
transition: 0ms;
background-color: rgb(0, 187, 0);
}
</style>
<title>Reaction Time Test</title>
</head>
<body>
<div class="d-flex flex-column min-vh-100 justify-content-center align-items-center">
<div id="content" class="text-center">
<h1 id="title">Reaction Time Test</h1>
<p id="info" class="text-center">Click the button below to start. The test will run: <input type="number" id="timesToRun" min="2" value="5" style="width:40px; background: none;border: none;color: white;"> Times</p>
<button class="btn btn-primary" id="mainButton" autofocus>Start!</button>
</div>
</div>
</body>
</html>