forked from gdscrgpv/Converter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (95 loc) · 4.25 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Binary To Decimal</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="conversion.css">
<link rel="icon" href="logo.png" type="image/x-icon">
</head>
<body>
<!-- <section> -->
<nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #1c1c1c;">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="logo.png" alt="logo" width="30" height="24" class="d-inline-block align-text-top"
style="border-radius: 12px;">
Converter
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0" id="center">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="index.html">Binary</a>
</li>
<li class="nav-item">
<a class="nav-link" href="hexadecimal.html">Hexadecimal</a>
</li>
<li class="nav-item">
<a class="nav-link" href="octal.html">Octal</a>
</li>
</ul>
<ul class="navbar-nav" style="margin-left: auto">
<li class="nav-item">
<a class="nav-link" href="#">Contact Us</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- </section> -->
<section>
<div class="container">
<div class="form-hold p-5">
<h3 class="text-center heading mb-10 h2" style="padding-bottom: 40px; color: orange;">Binary To Decimal
</h3>
<div class="row g-3 ">
<div class="col-12 col-md-6">
<h5 class="text" style="padding-bottom: 10px;">Binary</h5>
<input type=" text" id="bin" class="form-control">
</div>
<div class="col-12 col-md-6">
<h5 class="text" style="padding-bottom: 10px;">Decimal</h5>
<input type="text" id="res" class="form-control">
</div>
<div class=" mx-auto " style="padding-top: 40px;">
<button type="button" class="btn btn-success" onclick="binToBase(10)">Convert</button>
<button type="button" class="btn btn-success" onclick="binreset()">Reset</button>
</div>
</div>
</div>
</div>
</div>
</section>
<div class='footer-div'>
<footer class="container">
<div class="d-flex flex-wrap align-items-center justify-content-between p-3 py-4">
<div>
<Text {...TextProps}>
©2021
<a href="#">
GDSC RGPV
</a>
</Text>
</div>
<div>
Converter™ is made with 🍕, ☕ and 💻
</div>
</div>
</footer>
</div>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<!-- ------------------------------------ -->
<script src="conversion.js"></script>
</body>
</html>