forked from 0xvashishth/CalcHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (36 loc) · 1.16 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
<!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"/>
<link rel="stylesheet" href="DivisorsCalc.css" />
<script src="DivisorsCalc.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Sofia">
<title>Divisors Calculator</title>
</head>
<body>
<h1 class="header">Divisors Calculator</h1>
<div class="form">
<input type="number" id="input" min="-10000000" max="10000000" placeholder="Number" /><br>
<div class="btns">
<button class="btn" id="calc" onclick="calc()">Calulate</button>
<button class="btn" id="clear" onclick="reset()">Clear</button>
</div>
<table class="output">
<tr>
<td class="theader"><strong>Number of Divisors</strong></td>
<td id="dNb">.....</td>
</tr>
<tr>
<td class="theader"><strong>Divisors</strong></td>
<td id="d">.....</td>
</tr>
<tr>
<td class="theader"><strong>Sum of Divisors</strong></td>
<td id="dSum">.....</td>
</tr>
</table>
</div>
</body>
</html>