-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalc.html
More file actions
36 lines (35 loc) · 729 Bytes
/
Copy pathcalc.html
File metadata and controls
36 lines (35 loc) · 729 Bytes
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
<!DOCTYPE HTML>
<head>
<title>Calculator</title>
<link rel="stylesheet" type="text/css" href="calc.css">
</head>
<body>
<h1>Calculator</h1>
<div id="calculator">
<div class="top">
<span class="clear">C</span>
<div class="screen" tabindex="0"></div>
</div>
<div class="keys">
<span>7</span>
<span>8</span>
<span>9</span>
<span class="operator">+</span>
<span>4</span>
<span>5</span>
<span>6</span>
<span class="operator">-</span>
<span>1</span>
<span>2</span>
<span>3</span>
<span class="operator">/</span>
<span>0</span>
<span>.</span>
<span class="eval">=</span>
<span class="operator">x</span>
</div>
</div>
<script src="calc.js">
</script>
</body>
</html>