-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (60 loc) · 2.14 KB
/
index.html
File metadata and controls
67 lines (60 loc) · 2.14 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- displays site properly based on user's device -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="image/png" sizes="32x32" href="https://cdn2.iconfinder.com/data/icons/ios7-inspired-mac-icon-set/512/Calculator_512.png">
<title>Calculator app</title>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link rel="stylesheet" type="text/css" href="">
</head>
<body>
<main class="calculator">
<div class="header">
<h1>calc</h1>
<h6>THEME</h6>
<div class="div">
<div class="input">
<input id="theme1" type="radio" name="theme" value="0" checked>
<label for="theme1">1</label>
<input id="theme2" type="radio" value="1" name="theme">
<label for="theme2">2</label>
<input id="theme3" type="radio" value="2" name="theme">
<label for="theme3">3</label>
</div>
</div>
</div>
<div class="user-input">
<div data-previous-operand class="previous-operand"></div>
<div data-current-operand class="current-operand"></div>
</div>
<div class="grid-container">
<button data-num>7</button>
<button data-num>8</button>
<button data-num>9</button>
<button data-delete>DEL</button>
<button data-num>4</button>
<button data-num>5</button>
<button data-num>6</button>
<button data-operator>+</button>
<button data-num>1</button>
<button data-num>2</button>
<button data-num>3</button>
<button data-operator>-</button>
<button data-num>.</button>
<button data-num>0</button>
<button data-operator>/</button>
<button data-operator>*</button>
<button data-reset class="column-span">RESET</button>
<button data-output class="column-span">=</button>
</div>
</main>
<footer class="attribution">
Coded by <a href="https://github.com/SartHak-0-Sach" target="_blank">Sarthak Sachdev</a>.
</footer>
<!-- JAVASCRIPT -->
<script src="script.js"></script>
</body>
</html>