-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (62 loc) · 2.14 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
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1 user-scalable=no, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Simple Calculator Muhammad Sameem</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet">
<!-- Common Tags -->
<meta content='#171825' name='theme-color' />
<meta name="keywords"
content="Simple JavaScript Calculator, JavaScript, Calculator, JavaScript Calculator, JSCalci, JavaScriptCalci">
<link rel='icon' type='image/x-icon' href='favicon.png' />
</head>
<body>
<div class="container">
<h1><a style="text-decoration: none; color: #f1c40f; margin-left: 0.25rem;" href="" onclick="location.reload();">CALCULATOR</a></h1 >
<div class="calculator">
<input type="text" name="screen" id="answer">
<table>
<tr>
<td><button>(</button></td>
<td><button>)</button></td>
<td><button style="background-color: #e74c3c; font-weight: bold; color: #ecf0f1;">C</button></td>
<td><button>%</button></td>
</tr>
<tr>
<td><button>7</button></td>
<td><button>8</button></td>
<td><button>9</button></td>
<td><button>X</button></td>
</tr>
<tr>
<td><button>4</button></td>
<td><button>5</button></td>
<td><button>6</button></td>
<td><button>-</button></td>
</tr>
<tr>
<td><button>1</button></td>
<td><button>2</button></td>
<td><button>3</button></td>
<td><button>+</button></td>
</tr>
<tr>
<td><button>0</button></td>
<td><button style="font-weight: bold;">.</button></td>
<td><button>/</button></td>
<td><button style="background-color: #2ecc71; font-weight: bold; color: #ecf0f1;">=</button></td>
</tr>
</table>
<hr style="max-width: 50vw;">
<div style="font-size:1rem; display: flex; align-items: center; justify-content: center;">Made by Muhammad Sameem</div>
</div>
</div>
<div id="turn">
PLEASE TURN YOUR DEVICE
</div>
</body>
<script src="calc.js"></script>
</html>