File size: 904 Bytes
aa13a4c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a2351ab
aa13a4c
a2351ab
 
 
 
 
aa13a4c
0d13928
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
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>πŸš€ SpeedTest Robot</title>
  <link rel="stylesheet" href="style.css" />
</head>
<body>
  <h1>πŸš€ SpeedTest Robot</h1>
  <div id="gauge-container">
    <canvas id="gauge" width="300" height="150"></canvas>
  </div>

  <div id="results">
    <p>πŸ“₯ Download: <span id="dl">0</span> Mbps</p>
    <p>πŸ“€ Upload: <span id="ul">0</span> Mbps</p>
    <p>πŸ“‘ Ping: <span id="ping">0</span> ms</p>
  </div>

  <button id="startBtn">START TEST</button>
  <p style="margin-top: 20px;">Results are saved locally on your device.</p>

  <!-- Scripts loaded at the end of body for proper DOM access -->
  <script src="https://librespeed.org/librespeed/speedtest.js"></script>
  <script src="gauge.js"></script>
  <script src="script.js"></script>
</body>
</html>