-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (36 loc) · 1.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Calculator</title>
<link href="style.css" rel="stylesheet">
</head>
<body>
<div class='calculator'>
<div class='display'>0</div>
<div class='button'>
<button class='other' id='C'>C</button>
<button class='other' id='minusplus'>±</button>
<button class='other' id='percent'>%</button>
<button class='operator'>÷</button>
<button class='num'>7</button>
<button class='num'>8</button>
<button class='num'>9</button>
<button class='operator'>×</button>
<button class='num'>4</button>
<button class='num'>5</button>
<button class='num'>6</button>
<button class='operator'>-</button>
<button class='num'>1</button>
<button class='num'>2</button>
<button class='num'>3</button>
<button class='operator'>+</button>
<button class='num' id='zero'>0</button>
<button class='num'>.</button>
<button class='equal'>=</button>
</div>
</div>
<div class='footer left'>Made by QuocPC</div>
<div class='footer right'>Inspired by Apple Calculator</div>
<script src="scripts.js"></script>
</body>
</html>