-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
26 lines (25 loc) · 1.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Touch Sprint</title>
<link rel="stylesheet" href="touchsprint.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🏃</text></svg>">
<meta name="theme-color" content="#8d1b00">
</head>
<body>
<h1>Touch🏃Sprint</h1>
<button id="again" class="hide-initially">🔄 Play again</button>
<p id="instructions">Grab the finger and slide down the screen. Release. Repeat.</p>
<div id="finger-left" class="finger left">👇</div>
<div id="highscores"></div>
<p class="hide-initially" id="remaining">🏁 <span id="distance">5000</span> m to go!<br/>Swipe fast!</p>
<p class="hide-initially" id="time">⏱️ <span id="timer">0</span> ms</p>
<div id="version">v0958</div>
<script src="touchsprint.js"></script>
</body>
</html>