-
Notifications
You must be signed in to change notification settings - Fork 1
/
cal_project.html
46 lines (43 loc) · 1.75 KB
/
cal_project.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">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="cal_css.css">
<title>calculator</title>
</head>
<body>
<div class="body_cal">
<div class="display">
<p id="display_content"></p>
</div>
<div class="buttons">
<div class="part1">
<button id="button" data_value = "clear">AC</button>
<button id="button" data_value = "(-ve)">+\-</button>
<button id="button" data_value = "%">%</button>
<button id="button" data_value = "7">7</button>
<button id="button" data_value = "8">8</button>
<button id="button" data_value = "9">9</button>
<button id="button" data_value = "4">4</button>
<button id="button" data_value = "5">5</button>
<button id="button" data_value = "6">6</button>
<button id="button" data_value = "1">1</button>
<button id="button" data_value = "2">2</button>
<button id="button" data_value = "3">3</button>
<button id="button" class="zero" data_value = "0">0</button>
<button id="button" data_value = ".">.</button>
</div>
<div class="part2">
<button id="divide" data_value = "/">/</button>
<button id="mul" data_value = "*">*</button>
<button id="sub" data_value = "-">-</button>
<button id="add" data_value = "+">+</button>
<button id="evaluate" data_value = "=">=</button>
</div>
</div>
</div>
<script src="cal_javascript.js"></script>
</body>
</html>