-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
76 lines (64 loc) · 2.71 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<title>
Calculator
</title>
<meta name="theme-color" content="#A52A2A"/>
<link rel="icon" href="./icon.png">
<link rel="stylesheet" type="text/css" href="./style/style.css">
<!-- Viewport tag-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Disable tap highlight on IE -->
<meta name="msapplication-tap-highlight" content="no">
<!--Web Applictaion Manifest-->
<link rel="manifest" href="./manifest.json">
<link rel="manifest-webapp" href="./manifest.webapp">
<!-- Disable tap highlight on IE -->
<meta name="msapplication-tap-highlight" content="no">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="application-name" content="Progressive Web App">
<meta name="theme-color" content="#A52A2A">
<!-- Add to homescreen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="transparent">
<meta name="apple-mobile-web-app-title" content="Calculator">
<meta name="apple-mobile-web-app-status-bar-style" content="#A52A2A">
</head>
<body>
<script src="./script/app.js">
</script>
<CENTER>
<div class="base">
<br>
<input class="display" type="text" readonly size="18" id="d">
<br>
<br>
<input type="button" class="button" value="9" onClick='get("9")'>
<input type="button" class="button" value="8" onClick='get("8")'>
<input type="button" class="button" value="7" onClick='get("7")'>
<input type="button" class="button_function" value="+" onClick='get("+")'>
<br>
<input type="button" class="button" value="6" onClick='get("6")'>
<input type="button" class="button" value="5" onClick='get("5")'>
<input type="button" class="button" value="4" onClick='get("4")'>
<input type="button" class="button_function" value="-" onClick='get("-")'>
<br>
<input type="button" class="button" value="3" onClick='get("3")'>
<input type="button" class="button" value="2" onClick='get("2")'>
<input type="button" class="button" value="1" onClick='get("1")'>
<input type="button" class="button_function" value="X" onClick='get("*")'>
<br>
<input type="reset" class="button_reset" value="DEL" onClick='Del("")'>
<input type="button" class="button" value="0" onClick='get("0")'>
<input type="button" class="button_equal" value="=" onClick='equal()'>
<input type="button" class="button_function" value="/" onClick='get("/")'>
<br>
<br>
</div>
</CENTER>
</body>
</html>