-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (65 loc) · 3.12 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
<!DOCTYPE>
<html lang="en">
<head>
<title>Binary translator</title>
<meta name="author" content="clonalejandro">
<meta name="description" content="A Binary translator powered by JavaScript vanilla">
<meta name="keywords" content="binary, Binary, clona, clonalejandro, mcb, js, javascript, vanilla, base, translator, binario, traductor, a">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- LIBS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/jquery.notify.css">
<!-- MAIN-CSS -->
<link rel="stylesheet" href="app.css">
</head>
<body>
<div class="container" align="center">
<!-- HEADER -->
<header>
<h1>Decimal to binary converter</h1><hr class="binary"><br>
<h4>Developed by clonalejandro</h4><br><br>
</header>
<!-- MAIN -->
<div class="container">
<form action="javascript:reader();" method="post">
<div class="card text-white bg-info mb-3" style="max-width: 20rem;">
<div class="card-header">Decimal</div>
<div class="card-body">
<div class="form-group">
<input class="form-control tt" required name="n" id="n" type="number" placeholder="Number">
</div>
</div>
</div>
<button class="button" id="sender" type="submit">Convert!</button>
</form>
</div>
<br><br>
<h3>Results: </h3><br>
<div class="container" align="center">
<table class="table table-responsive">
<thead>
<tr>
<th><span class="badge badge-light">#</span></th>
<th><span class="badge badge-dark">Id</span></th>
<th><span class="badge badge-info">Decimal</span></th>
<th><span class="badge badge-warning">Binary</span></th>
</tr>
</thead>
<tbody class="results">
</tbody>
</table>
</div>
</div>
<!-- LIBS -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="assets/jquery.notify.min.js"></script>
<!-- MAIN-JS -->
<script src="./app.js"></script>
</body>
</html>