-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
87 lines (77 loc) · 5.4 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
<!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">
<meta name="author" content="Aqib Javid Bhat">
<meta name="description" content="Number Conversion provides functions to convert a number from one base to another.">
<meta property="og:title" content="Number Conversion">
<meta property="og:image" content="banner.png">
<title>Number Conversion</title>
<link rel="stylesheet" href="index.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Istok+Web:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;1,100;1,200;1,300;1,400;1,500;1,600&display=swap" rel="stylesheet">
<script type="text/javascript" src="index.js"></script>
</head>
<body style="background: #1F2937; font-family: 'Istok Web', sans-serif; color: white;">
<header>
<nav class="navbar navbar-expand-lg bg-dark mt-2" data-bs-theme="dark" style="background: rgb(31 41 55) !important;">
<div class="container-fluid fw-bold fs-5">
<a class="navbar-brand ms-lg-5 d-lg-none ms-3" href="#" id="nav">Number Conversion</a>
<button class="navbar-toggler me-3" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse text-center" id="navbarNavDropdown">
<ul class="navbar-nav justify-content-between nav-underline w-100 fs-5 mt-3" id="list">
<li class="nav-item ms-lg-5">
<a class="nav-link" aria-current="page" href="#" id="Home" data-bs-toggle="collapse" data-bs-target=".navbar-collapse.show">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#" id="Binary" data-bs-toggle="collapse" data-bs-target=".navbar-collapse.show">Convert Binary</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#" id="Octal" data-bs-toggle="collapse" data-bs-target=".navbar-collapse.show">Convert Octal</a>
</li>
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#" id="Decimal" data-bs-toggle="collapse" data-bs-target=".navbar-collapse.show">Convert Decimal</a>
</li>
<li class="nav-item me-lg-5">
<a class="nav-link" aria-current="page" href="#" id="Hexadecimal" data-bs-toggle="collapse" data-bs-target=".navbar-collapse.show">Convert Hexadecimal</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="container-fluid">
<div class="container text-center col-sm-10 col-md-8 col-lg-6">
<div class="row mt-5 mb-4">
<div class="col">
<h1 class="fw-bold text-white fs-1" id="title">NUMBER CONVERSION</h1>
</div>
</div>
<div class="row justify-content-center">
<div class="col-11">
<form id="form">
<div class="mb-3" id="input-div">
<input class="form-control bg-transparent text-white border border-5 fs-4 fw-semibold text-center mb-5 rounded-0 py-3" autocomplete="off" autofocus type="text" placeholder="ENTER NUMBER" aria-label="default input example" id="number" value="">
<input type="hidden" value="0" id="page">
</div>
<div class="mb-3 d-flex flex-column" id="btns">
</div>
</form>
<p class="text-center fs-4 fw-bold mt-5 border border-5 fw-semibold rounded-0 py-3 text-uppercase" id="answer">Answer will appear here</p>
</div>
</div>
</div>
</main>
<footer class="text-white text-center py-3 fixed-bottom" id="footer">
Mini Project for Thehacktrical2 (organised by MLH)<br>by Aqib Javid Bhat & Mutaib Altaf
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
</body>
</html>