-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (50 loc) · 2.44 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
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
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Converter</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
<link rel="stylesheet" href="assests/css/style.css">
</head>
<body>
<div class="container mycontainer bg-success mt-5 rounded-4" id="mycontainer">
<div>
<h1 class="text-center">Unit converter</h1>
</div>
<div class="unit" id="unit-change">
<select class="form-select" aria-label="Default select example" id="unit-btn">
<option selected>Meter(m) to Centimeter(cm)</option>
<option >Centimeter(cm) to meter(m)</option>
<option >Milimeter(mm) to centimter(cm)</option>
<option >Centimeter(cm) to Milimeter(mm)</option>
<option >Inch to feet(ft)</option>
</select>
</div>
<div class="unit" id="unit">
<div>
<label for="inputField" id="label">Meter(m)</label>
<form action="">
<input class="form-control unitInput" id="inputField" type="text" required>
<button class="btn btn-light btn-large mt-2 mx-auto d-block" type="submit" id="convert">Convert</button>
</form>
</div>
</div>
<div class="output">
<form action="">
<label for="output">Output</label>
<input type="text" readonly class="form-control" id="output" />
</form>
</div>
<div class="result">
<div id="outputResult">
<h1 class="text-center" >Result</h1>
<p class="text-center text-dark" id="resultLine"> </p>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
<script src="assests/js/app.js"></script>
</body>
</html>