-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
50 lines (38 loc) · 1.25 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
<!DOCTYPE html>
<html>
<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">
<title>EvenOdd Checker</title>
<script src="scripts/numberInfo.js"></script>
<link rel="stylesheet" href="stylesheets/style.css">
<link rel="icon" href="images/Code_tree.png" type="image/x-icon">
</head>
<body>
<div id="mainDiv">
<h1>Number Checker</h1>
<p>
A simple tool to check if a number is even or odd,
prime or not and is a perfect square or not.
</p>
<form onsubmit="return false">
<input class="input" name="numberInput" id="inp" type="number" max="90000000000000000" placeholder="Input a number"
oninput="numberInfo(this.value)">
<output class="out" name="resultOutput1" id="out1">
0 is an even number.
</output>
<hr id="hr1">
<output class="out" name="resultOutput2" id="out2">
0 is neither prime nor a composite number.
</output>
<hr id="hr2">
<output class="out" name="resultOutput3" id="out3">
0 is a perfect square, its square root is 0
</output>
</form>
<hr id="footerHr">
<footer>Made by: Kushal</footer>
</div>
</body>
</html>