-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (42 loc) · 1.48 KB
/
index.html
File metadata and controls
45 lines (42 loc) · 1.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Simple Calculator</title>
<link rel="stylesheet" href="styling/styles.css" />
</head>
<body>
<div id="container">
<div id="screen">
<div id="innerscreen">
<div class="previous" data-previous></div>
<div placeholder="UserInput" type="text" data-current></div>
</div>
</div>
<label id="buttons"
><button style="display: none; width: 0px; height: 0px">1</button>
<button data-ac id="tlcrnr">AC</button>
<button data-delete>DEL</button>
<button data-operators id="trcrnr">/</button>
<button class="button" data-numbers>1</button>
<button data-numbers>2</button>
<button data-numbers>3</button>
<button data-operators>-</button>
<button data-numbers>4</button>
<button data-numbers>5</button>
<button data-numbers>6</button>
<button data-operators>+</button>
<button data-numbers>7</button>
<button data-numbers>8</button>
<button data-numbers>9</button>
<button data-operators>*</button>
<button data-negPos id="blcrnr">+/-</button>
<button data-numbers>0</button>
<button data-numbers>.</button>
<button data-equal id="brcrnr">=</button>
</label>
</div>
<script src="scripts/script.js" defer></script>
</body>
</html>