-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (44 loc) · 1.75 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
<!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">
<title>Calculator</title>
<script src="./script.js" defer></script>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div id="container">
<div id="screen">
<input type="text" id="screenText" name="screenText">
</div>
<div id="buttons">
<button id="squareRootButton">√</button>
<button id="percentButton">%</button>
<button id="negativeButton">⁺∕₋</button>
<button id="clearButton">AC</button>
<button id="sevenButton">7</button>
<button id="eightButton">8</button>
<button id="nineButton">9</button>
<button id="divideButton" class="operator">÷</button>
<button id="fourButton">4</button>
<button id="fiveButton">5</button>
<button id="sixButton">6</button>
<button id="multiplyButton" class="operator">×</button>
<button id="oneButton">1</button>
<button id="twoButton">2</button>
<button id="threeButton">3</button>
<button id="subtractButton" class="operator">-</button>
<button id="zeroButton">0</button>
<button id="decimalButton">.</button>
<button id="equalsButton">=</button>
<button id="addButton" class="operator">+</button>
</div>
</div>
<div id="footer">
<div>Copyright © 2021 Xenanthropy</div>
<a href="https://www.github.com/Xenanthropy/"><img src="./images/githubicon.png" /></a>
</div>
</body>
</html>