-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
107 lines (107 loc) · 2.78 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html>
<head>
<link
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
rel="stylesheet"
/>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Number Details</title>
<link rel="stylesheet" href="indx.css" />
</head>
<body>
<div class="container">
<div class="row">
<h2>Strong number</h2>
<hr />
<div class="form-group">
<div class="form-group">
<label for="num">Number:</label>
<input type="text" class="form-control" id="num1" required />
</div>
<button
type="submit"
name="submit"
onclick="is_strong_number()"
class="btn btn-default"
>
Submit
</button>
</div>
<div id="result1"></div>
</div>
<div class="row">
<h2>Palindrome</h2>
<hr />
<div class="form-group">
<div class="form-group">
<label for="num">Number:</label>
<input
type="text"
class="form-control"
id="num2"
placeholder="Enter a number/word"
required
/>
</div>
<button
type="submit"
name="submit"
onclick="palindrome()"
class="btn btn-default"
>
Submit
</button>
</div>
<div id="result2"></div>
</div>
<div class="row">
<h2>Armstrong number</h2>
<hr />
<div class="form-group">
<div class="form-group">
<label for="num">Number:</label>
<input
type="text"
class="form-control"
id="num3"
placeholder="Enter a positive number"
required
/>
</div>
<button
type="submit"
name="submit"
onclick="armstrong()"
class="btn btn-default"
>
Submit
</button>
</div>
<div id="result3"></div>
</div>
<div class="row">
<h2>Prime number</h2>
<hr />
<div class="form-group">
<div class="form-group">
<label for="num">Number:</label>
<input type="text" class="form-control" id="num4" required />
</div>
<button
type="submit"
name="submit"
onclick="prime()"
class="btn btn-default"
>
Submit
</button>
</div>
<div id="result4"></div>
</div>
</div>
<div class="footer">Made by Ankit Malakar</div>
<script src="indx.js"></script>
</body>
</html>