-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
104 lines (99 loc) · 4.03 KB
/
index.html
File metadata and controls
104 lines (99 loc) · 4.03 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- displays site properly based on user's device -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png" />
<title>Calculator application</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="flex justify-center pt-8" style="background-color: hsl(222, 26%, 31%)">
<main class="w-5/6 md:w-4/6 lg:w-1/4">
<div class="flex justify-between items-center text-white">
<h3 class="font-bold">calc</h3>
<p class="text-xs">THEME</p>
</div>
<div class="flex flex-row-reverse rounded-md mt-4 py-4 px-3 bg-slate-700 text-white" style="background-color: hsl(224, 36%, 15%)">
<h1 class="text-3xl font-bold">399.981</h1>
</div>
<div class="py-4 rounded-md mt-4" style="background-color: hsl(224, 36%, 15%)">
<!-- 7 8 9 DEL-->
<div class="flex justify-between px-4 my-4">
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
7
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
8
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
9
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-sky-700 text-white">
DEL
</button>
</div>
<!-- 4 5 6 + -->
<div>
<div class="flex justify-between px-4 my-4">
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
4
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
5
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
6
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
+
</button>
</div>
</div>
<!-- 1 2 3 - -->
<div>
<div class="flex justify-between px-4 my-4">
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
1
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
2
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
3
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
-
</button>
</div>
</div>
<!-- . 0 / x -->
<div>
<div class="flex justify-between px-4 my-4">
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
.
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
0
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
/
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-16 py-1 bg-stone-200">
x
</button>
</div>
</div>
<!-- RESET = -->
<div class="flex justify-between px-4 my-4 gap-x-4">
<button class="text-lg font-bold rounded-md gap-x-1 w-1/2 py-1 bg-sky-700 text-white">
RESET
</button>
<button class="text-lg font-bold rounded-md gap-x-1 w-1/2 py-1 bg-red-600 text-white">
=
</button>
</div>
</div>
</main>
</body>
</html>