-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (43 loc) · 1.83 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<title>Calculator</title>
<link rel='stylesheet' href='styles.css'>
<script src='script.js' defer></script>
</head>
<body>
<div class='calculator'>
<div class='display'><a class='display-value'>0</a></div>
<div class='row-1'>
<button type='button' class='clear-btn'>AC</button>
<button type='button' class='pos-neg-btn'>+ / -</button>
<button type='button' class='undo'>U</button>
<button type='button' class='divide-btn operator-btn'>/</button>
</div>
<div class='row-2'>
<button type='button' class='7-btn number-btn'>7</button>
<button type='button' class='8-btn number-btn'>8</button>
<button type='button' class='9-btn number-btn'>9</button>
<button type='button' class='multiply-btn operator-btn'>x</button>
</div>
<div class='row-3'>
<button type='button' class='4-btn number-btn'>4</button>
<button type='button' class='5-btn number-btn'>5</button>
<button type='button' class='6-btn number-btn'>6</button>
<button type='button' class='subtract-btn operator-btn'>-</button>
</div>
<div class='row-4'>
<button type='button' class='1-btn number-btn'>1</button>
<button type='button' class='2-btn number-btn'>2</button>
<button type='button' class='3-btn number-btn'>3</button>
<button type='button' class='addition-btn operator-btn'>+</button>
</div>
<div class='row-5'>
<button type='button' class='0-btn number-btn'>0</button>
<button type='button' class='decimal-btn'>.</button>
<button type='button' class='eval-btn'>=</button>
</div>
</div>
</body>
</html>