-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (45 loc) · 1.78 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
<!DOCTYPE html>
<html>
<head>
<title>Calculator</title>
<meta charset="UTF-8"/>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Allison&family=Glory:wght@100;700&display=swap" rel="stylesheet"> <script src="script.js" defer></script>
</head>
<body>
<!-- Adding in stars divs -->
<div id="stars-above"></div>
<main>
<div id="stars-left"></div>
<div id="shell">
<div id="brand">Calculator in Space</div>
<div id="display"></div>
<div id="buttons">
<div class="button xl-button" id="clear">CLEAR</div>
<div class="button xl-button" id="delete">DEL</div>
<div class="button number">7</div>
<div class="button number">8</div>
<div class="button number">9</div>
<div class="button operator" id="divide">÷</div>
<div class="button number">4</div>
<div class="button number">5</div>
<div class="button number">6</div>
<div class="button operator" id="multiply">×</div>
<div class="button number">1</div>
<div class="button number">2</div>
<div class="button number">3</div>
<div class="button operator" id="subtract">−</div>
<div class="button number">0</div>
<div class="button number" id="decimal">.</div>
<div class="button" id="equals">=</div>
<div class="button operator" id="plus">+</div>
</div>
<div id="warning">WARNING: Do NOT divide by 0!</div>
</div>
<div id="stars-right"></div>
</main>
<div id="stars-below"></div>
</body>
</html>