Noobjay commited on
Commit
a2351ab
Β·
verified Β·
1 Parent(s): 12aae0b

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +6 -4
index.html CHANGED
@@ -5,9 +5,6 @@
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6
  <title>πŸš€ SpeedTest Robot</title>
7
  <link rel="stylesheet" href="style.css" />
8
- <script src="gauge.js" defer></script>
9
- <script src="https://librespeed.org/librespeed/speedtest.js"></script>
10
- <script src="script.js" defer></script>
11
  </head>
12
  <body>
13
  <h1>πŸš€ SpeedTest Robot</h1>
@@ -21,7 +18,12 @@
21
  <p>πŸ“‘ Ping: <span id="ping">0</span> ms</p>
22
  </div>
23
 
24
- <button onclick="startTest()">START TEST</button>
25
  <p style="margin-top: 20px;">Results are saved locally on your device.</p>
 
 
 
 
 
26
  </body>
27
  </html>
 
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
6
  <title>πŸš€ SpeedTest Robot</title>
7
  <link rel="stylesheet" href="style.css" />
 
 
 
8
  </head>
9
  <body>
10
  <h1>πŸš€ SpeedTest Robot</h1>
 
18
  <p>πŸ“‘ Ping: <span id="ping">0</span> ms</p>
19
  </div>
20
 
21
+ <button id="startBtn">START TEST</button>
22
  <p style="margin-top: 20px;">Results are saved locally on your device.</p>
23
+
24
+ <!-- Scripts loaded at the end of body for proper DOM access -->
25
+ <script src="https://librespeed.org/librespeed/speedtest.js"></script>
26
+ <script src="gauge.js"></script>
27
+ <script src="script.js"></script>
28
  </body>
29
  </html>