-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (51 loc) · 2.81 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>A Simple calculator</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles/styles.css">
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap" rel="stylesheet">
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<div id="container">
<div id="screen">
<p id='history'>0</p>
<p id='current'>0</p>
</div>
<div id="buttons" class="grid-container">
<button id='delete' class="grid-item func" value='del'>␡</button>
<button id='open_par' class="grid-item visi-but func" value='('>(</button>
<button id='close_par' class="grid-item visi-but func" value=')'>)</button>
<button id='clear' class="grid-item special_func" value='clear'>AC</button>
<button id='7' class="grid-item visi-but num" value='7'>7</button>
<button id='8' class="grid-item visi-but num" value='8'>8</button>
<button id='9' class="grid-item visi-but num" value='9'>9</button>
<button id='divide' class="grid-item visi-but func" value='/'>÷</button>
<button id='4' class="grid-item visi-but num" value='4'>4</button>
<button id='5' class="grid-item visi-but num" value='5'>5</button>
<button id='6' class="grid-item visi-but num" value='6'>6</button>
<button id='multiply' class="grid-item visi-but func" value='*'>×</button>
<button id='1' class="grid-item visi-but num" value='1'>1</button>
<button id ='2' class="grid-item visi-but num" value='2'>2</button>
<button id='3' class="grid-item visi-but num" value='3'>3</button>
<button id='subtract' class="grid-item visi-but func" value='-'>−</button>
<button id='0' class="grid-item visi-but num" value='0'>0</button>
<button id='decimal' class="grid-item visi-but num" value='.'>.</button>
<button id='equals' class="grid-item special_func" value = '='>=</button>
<button id='add' class="grid-item visi-but func" value='+'>+</button>
</div>
</div>
<script src="scripts/index.js" async defer></script>
</body>
</html>