forked from 0xvashishth/CalcHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (46 loc) · 1.85 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
<!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">
<!-- Latest compiled and minified CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="./style.css" rel="stylesheet">
<!-- Title -->
<title>PrimeFactor Calculator</title>
</head>
<body>
<div class="container pt-5">
<p class="h1 red">Prime Factor Calculator</p>
<div class="input-group pb-5">
<input type="number" id="input" min="1" max="10000000" placeholder="Enter a number" class="form-control"/>
<button class="btn btn-outline-danger" id="b" onclick="num()">Find out Factor</button>
<button class="btn btn-outline-dark" onclick="reset()">Reset</button>
</div>
<table class="table table-responsive table-bordered border border-danger border-2" id="edit">
<thead>
<th class="red h4 bolder">Computation</th>
<th class="red h4 bolder">Result</th>
</thead>
<tbody>
<tr>
<td><strong>PrimeFactors</strong></td>
<td>.....</td>
</tr>
<tr>
<td><strong>Factorisation</strong></td>
<td>.....</td>
</tr>
<tr>
<td><strong>Factorisation in exponent form</strong></td>
<td>.....</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
<script src="./script.js"></script>
</html>