-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
41 lines (37 loc) · 1.38 KB
/
Copy pathindex.php
File metadata and controls
41 lines (37 loc) · 1.38 KB
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
<!-- index.php -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Speed and Ping Test</title>
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<div class="page-container">
<button class="button-page-transition" id="pageTransitionButton">Go to Ping Test</button>
<div class="speed-test-container active" id="speedTestPage">
<h1>Speed Test</h1>
<div class="button-container">
<button class="button" id="measureButton">Start Speed test</button>
</div>
<p id="speedLabel">Average: -- Mbps</p>
<p id="speedLabelT">Runtime: -- Mbps</p>
<div class="canvas-container">
<canvas id="speedChart"></canvas>
</div>
</div>
<div class="ping-test-container" id="pingTestPage" >
<h1>Ping Test</h1>
<button class="button-ping" id="startPingButton">Start Ping Test</button>
<p id="pingAverage">Average: -- ms</p>
<p id="pingResult">Ping: -- ms</p>
<div class="canvas-container">
<canvas id="pingChart"></canvas>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>