-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (40 loc) · 1.26 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
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="./style.css">
<form id="fetcher">
<fieldset>
<legend>selection method</legend>
<div>
<input type="radio" name="selection" value="first" id="first" checked>
<label for="first">first 100 of list</label>
</div>
<div>
<input type="radio" name="selection" value="every" id="every">
<label for="every">every 100 in list</label>
</div>
</fieldset>
<fieldset>
<legend>connection type</legend>
<div>
<input type="radio" name="connection" value="4g" id="4g" disabled>
<label for="4g">4G / wifi</label>
</div>
<div>
<input type="radio" name="connection" value="3g" id="3g" disabled>
<label for="3g">3G</label>
</div>
<div>
<input type="radio" name="connection" value="2g" id="2g" disabled>
<label for="2g">2G / slow 3G</label>
</div>
</fieldset>
<fieldset id="buttons">
<legend>start fetch with method</legend>
<button type="submit" id="stream">custom streams</button>
<button type="submit" id="json">await response.json()</button>
</fieldset>
</form>
<div id="outputs">
<output id="timing" for="fetcher" name="timing"></output>
<output id="results" for="fetcher" name="results"></output>
</div>
<script src="./js/script.js" type="module"></script>