-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
44 lines (40 loc) · 1.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Retro Party Calculator</title>
<link rel="stylesheet" href="styles.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
</head>
<body>
<div class="calculator">
<div class="display">0</div>
<div class="buttons">
<button class="clear" style="grid-column: span 2;">Clear</button>
<button class="clear">←</button>
<button class="operator">÷</button>
<button>7</button>
<button>8</button>
<button>9</button>
<button class="operator">×</button>
<button>4</button>
<button>5</button>
<button>6</button>
<button class="operator">-</button>
<button>1</button>
<button>2</button>
<button>3</button>
<button class="operator">+</button>
<button>0</button>
<button>.</button>
<button class="party-button">🎉</button>
<button class="equals">=</button>
</div>
</div>
<div class="attribution">
Made by <a href="https://github.com/nathancovey/retro-party-calculator">Nathan Covey</a>
</div>
<script src="calculator.js"></script>
</body>
</html>