-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (55 loc) · 2.09 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
<!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="./style.css" />
<script src="./script.js" defer></script>
<link rel="icon" type="image/x-icon" href="./img/favicon.png" />
<title>Calculator</title>
</head>
<body>
<div class="calculator">
<div class="screen">
<p>0</p>
</div>
<div class="keyboard">
<div class="row">
<input type="button" class="topRow clear" value="AC" />
<input type="button" class="topRow sign" value="+/-" />
<input type="button" class="topRow percent" value="%" />
<input type="button" class="operators" value="÷" />
</div>
<div class="row">
<input type="button" class="numbers" value="7" />
<input type="button" class="numbers" value="8" />
<input type="button" class="numbers" value="9" />
<input type="button" class="operators" value="×" />
</div>
<div class="row">
<input type="button" class="numbers" value="4" />
<input type="button" class="numbers" value="5" />
<input type="button" class="numbers" value="6" />
<input type="button" class="operators" value="-" />
</div>
<div class="row">
<input type="button" class="numbers" value="1" />
<input type="button" class="numbers" value="2" />
<input type="button" class="numbers" value="3" />
<input type="button" class="operators" value="+" />
</div>
<div class="row">
<input type="button" class="numbers" id="zero" value="0" />
<input type="button" class="point" value="." />
<input type="button" class="equal" value="=" />
</div>
</div>
</div>
<footer>
By <a href="https://github.com/sheilajava" target="_blank">Sheila</a> ♥ Icons
by
<a href="https://icones8.fr/" target="_blank">Icons8</a>
</footer>
</body>
</html>