-
Notifications
You must be signed in to change notification settings - Fork 0
/
data.html
66 lines (65 loc) · 2.35 KB
/
data.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Data Page</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<a class="back-button" href="index.html">
<img src="arrow.png" alt="Back" width="24" height="24" />
</a>
<h1 class="contitle">Data Converter</h1>
<div class="content">
<div class="Datainput">
<label class="data-input" for="input-data">From:</label>
<input type="number" id="input-data" autofocus />
<select id="data-input-unit">
<option value="bit">Bit</option>
<option value="byte">Byte</option>
<option value="kilobit">Kilobit</option>
<option value="kilobyte">Kilobyte</option>
<option value="megabit">Megabit</option>
<option value="megabyte">Megabyte</option>
<option value="gigabit">Gigabit</option>
<option value="gigabyte">Gigabyte</option>
<option value="terabit">Terabit</option>
<option value="terabyte">Terabyte</option>
</select>
</div>
<div class="Dataoutput">
<label class="data-input" for="output-data">To:</label>
<!-- <input type="number" id="output-data" readonly /> -->
<select id="data-output-unit">
<option value="bit">Bit</option>
<option value="byte">Byte</option>
<option value="kilobit">Kilobit</option>
<option value="kilobyte">Kilobyte</option>
<option value="megabit">Megabit</option>
<option value="megabyte">Megabyte</option>
<option value="gigabit">Gigabit</option>
<option value="gigabyte">Gigabyte</option>
<option value="terabit">Terabit</option>
<option value="terabyte">Terabyte</option>
</select>
</div>
<div class="resultcontainer">
<button id="convert-button">Result</button>
<h1>Result :</h1>
<span id="result"></span>
</div>
</div>
<script src="data.js"></script>
</body>
</html>
<!-- <option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option>
<option value=""></option> -->