-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
247 lines (205 loc) · 10.8 KB
/
main.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!doctype html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-169343252-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-169343252-2');
</script>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href="css.css">
<title>Number Base Converter</title>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-white">
<img src="i1.png" width="50" height="50" class="d-inline-block align-top" alt="" loading="lazy">
<a class="navbar-brand" href="https://vasu021.github.io/AmlenduWeb/index.html">@Shekhar</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<img src="menu-icon.png" class="nav-tog-icon" width="50" height="50" alt="">
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="https://vasu021.github.io/AmlenduWeb/index.html">Home <span
class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Projects
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item"
href="https://itseduin-my.sharepoint.com/:f:/g/personal/amlendushekharcss_cse18_its_edu_in/EnJacT0yKihJlvooH94spMUB_Yjq8ZRBjWIcf5KFu2wabA?e=I99jyY">Base
Converter</a>
<a class="dropdown-item"
href="https://itseduin-my.sharepoint.com/:f:/g/personal/amlendushekharcss_cse18_its_edu_in/EgRxi8YhxxhJiuXvMJfageQBlFS2xIXaQgfuNlkmBte7WA?e=uki5rM">MsgC</a>
<a class="dropdown-item"
href="https://itseduin-my.sharepoint.com/:f:/g/personal/amlendushekharcss_cse18_its_edu_in/Et1wSqO0qN9Dk9xvrfUA2kkB0p2US6sPE8SRlAwCc-boKQ?e=e7sJ1Y">BMI</a>
<a class="dropdown-item" href="https://vasu021.github.io/BaseConverter/main.html">Base Converter
Web App</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="https://vasu021.github.io/AmlenduWeb/index.html">Load more...</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="#foot">Contact</a>
</li>
</ul>
</div>
</nav>
<div class="full">
<div class="pro-title"><a href="">Number Base Converter</a></div>
<div class="pro-title">
<p>Enter the NUMBER and select it's BASE</p>
</div>
<div class="input-group">
<input type="text" class="form-control" aria-label="Text input with dropdown button" id="inNum">
<div class="input-group-append">
<button class="btn btn-outline-secondary dropdown-toggle" type="button" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false" id="inBase">BASE</button>
<div class="dropdown-menu" id="input1">
<a class="dropdown-item" href="#" id="itwo">Binary</a>
<a class="dropdown-item" href="#" id="ieight">Octal</a>
<a class="dropdown-item" href="#" id="iten">Decimal</a>
<a class="dropdown-item" href="#" id="isixteen">Hexadecimal</a>
<div role="separator" class="dropdown-divider"></div>
<a class="dropdown-item" href="#" id="ione">1</a>
<a class="dropdown-item" href="#" id="ithree">3</a>
<a class="dropdown-item" href="#" id="ifour">4</a>
<a class="dropdown-item" href="#" id="ifive">5</a>
<a class="dropdown-item" href="#" id="isix">6</a>
<a class="dropdown-item" href="#" id="iseven">7</a>
<a class="dropdown-item" href="#" id="inine">9</a>
<a class="dropdown-item" href="#" id="ieleven">11</a>
<a class="dropdown-item" href="#" id="itwelve">12</a>
<a class="dropdown-item" href="#" id="ithirteen">13</a>
<a class="dropdown-item" href="#" id="ifourteen">14</a>
<a class="dropdown-item" href="#" id="ififteen">15</a>
</div>
</div>
</div>
<div class="pro-title select-base1">
<p>Select the BASE in which you want the ANSWER</p>
</div>
<div class="out1" id="out1">
<div class="out11 row">
<div class="col">
<button type="button" class="btn btn-dark" id="two">Binary</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="eight">Octal</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="ten">Decimal</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="sixteen">Hexadecimal</button>
</div>
</div>
<div class="out11 row">
<div class="col">
<button type="button" class="btn btn-dark" id="one">1</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="three">3</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="four">4</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="five">5</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="six">6</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="seven">7</button>
</div>
</div>
<div class="out11 row">
<div class="col">
<button type="button" class="btn btn-dark" id="nine">9</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="eleven">11</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="twelve">12</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="thirteen">13</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="fourteen">14</button>
</div>
<div class="col">
<button type="button" class="btn btn-dark" id="fifteen">15</button>
</div>
</div>
</div>
<div class="alert alert-success" role="alert">
<p id="myAns">Answer to be displayed here!</p>
</div>
<div class="pro-convert">
<button class="buttonAns" id="buttonAns">CALCULATE</button>
</div>
</div>
<footer class="foot" id="foot">
<div class="row footer-upper">
<div class="footer-logo">
<img src="i1.png" width="50" height="50" class="d-inline-block align-top" alt="" loading="lazy">
<a class="navbar-brand" href="https://vasu021.github.io/AmlenduWeb/index.html">@Shekhar</a>
</div>
</div>
<div class="row">
<div class="col text-center text-light">
<p>Email: <a href="">amlendushekharcss_cse18_its_edu_in</a></p>
</div>
</div>
<div class="row">
<div class="col text-center text-light">
<p>Designed and Developed by <a href="https://vasu021.github.io/AmlenduWeb/index.html">Amlendu
Shekhar</a></p>
</div>
</div>
<div class="row">
<div class="col text-center text-light">
<a href="https://www.facebook.com/profile.php?id=100009670151360"><img src="logos/fb.png" height="40"
width="40" alt=""></a>
<a href="https://www.instagram.com/vasu_shekhar_srivastav/"><img src="logos/ig.png" height="40"
width="40" alt=""></a>
<a href="https://github.com/Vasu021"><img src="logos/git.png" height="40" width="40" alt=""></a>
<a href="https://twitter.com/VSU38001685"><img src="logos/twittwe.png" height="40" width="40"
alt=""></a>
<a href="https://www.linkedin.com/in/amlendu-shekhar-7aa6251a4/"><img src="logos/ld.png" height="40"
width="40" alt=""></a>
</div>
</div>
</footer>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"></script>
<script src="calc.js"></script>
</body>
</html>