-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
57 lines (52 loc) · 1.89 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Basic Calculator</title>
<meta name="description" content="A Basic Calculator">
<meta name="author" content="SitePoint">
<link rel="stylesheet" href="css/style.css">
</head>
<body data-theme="">
<div class="main">
<div class="calculator">
<div class="header">
<div class="switchBox">
<input type="checkbox" name="" id="switch" value="switch">
<div class="box">
</div>
</div>
</div>
<div class="input">
<input type="text" name="" id="display" disabled>
<input type="button" value="C" class="cancel_btn">
</div>
<div class="row">
<input type="button" value="7">
<input type="button" value="8">
<input type="button" value="9">
<input type="button" value="+">
</div>
<div class="row">
<input type="button" value="4">
<input type="button" value="5">
<input type="button" value="6">
<input type="button" value="-">
</div>
<div class="row">
<input type="button" value="1">
<input type="button" value="2">
<input type="button" value="3">
<input type="button" value="*">
</div>
<div class="row">
<input style="border-radius: 0 0 0 10px;" type="button" value=".">
<input type="button" value="0">
<input style="background: #ff0000; color: white;" type="button" value="=">
<input style="border-radius: 0 0 10px 0;" type="button" value="/">
</div>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>