-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (49 loc) · 1.58 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/png" href="./images/favi-ghost.png" />
<title>calculator</title>
</head>
<body>
<div class="frame">
<div class="top">
<button class="buttonclear" id="clear">C</button>
<output name="result" id="result"></output>
</div>
<!-- end top -->
<div class="functionbox">
<div class="rowone">
<button class="seven" id="seven">7</button>
<button class="eight" id="eight">8</button>
<button class="nine" id="nine">9</button>
<button class="operator" id="divide"> ÷</button>
</div>
<!-- end row one -->
<div class="rowtwo">
<button class="four" id="four">4</button>
<button class="five" id="five">5</button>
<button class="six" id="six">6</button>
<button class="operator" id="multiply">x</button>
</div>
<!-- end row two -->
<div class="rowthree">
<button class="one" id="one">1</button>
<button class="two" id="two">2</button>
<button class="three" id="three">3</button>
<button class="operator" id="subtract">-</button>
</div>
<!-- end row three -->
<div class="rowfour">
<button class="zero" id="zero">0</button>
<button class="operator" id="decimal">.</button>
<button class="operator" id="equals">=</button>
<button class="operator" id="add">+</button>
</div>
<!-- end row five -->
</div>
</div>
<script src="main.js"></script>
</body>
</html>