-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (55 loc) · 1.93 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
52
53
54
55
56
57
58
<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>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<form action="" class="calculator">
<input type="text" class="value" name="screen" id="screen" s>
<span class="num clear">C</span>
<span class="num">(</span>
<span class="num">)</span>
<span class="num">7</span>
<span class="num">8</span>
<span class="num">9</span>
<span class="num">/</span>
<span class="num">4</span>
<span class="num">5</span>
<span class="num">6</span>
<span class="num">*</span>
<span class="num">1</span>
<span class="num">2</span>
<span class="num">3</span>
<span class="num">-</span>
<span class="num">0</span>
<span class="num">.</span>
<span class="num">DEL</span>
<span class="num ">+</span>
<span class="num">sin</span>
<span class="num">cos</span>
<span class="num">tan</span>
<span class="num">%</span>
<span class="num">log</span>
<span class="num">√</span>
<span class="num">
<p>x<sup> y</sup></p>
</span>
<span class="num equal">=</span>
</form>
</div>
<script type="text/javascript" src="vanilla-tilt.js"></script>
<script type="text/javascript">
VanillaTilt.init(document.querySelector(".container"), {
max: 25,
speed: 400,
glare: true,
"max- glare": 0.2
});
</script>
<script src="index.js"></script>
</body>
</html>