-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (75 loc) · 3.46 KB
/
index.html
File metadata and controls
86 lines (75 loc) · 3.46 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
<!DOCTYPE html>
<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>Kumputer Store</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="bg-black h-16 text-white font-bold mt-auto p-4">
<h1>Komputer Store</h1>
</header>
<section class="space-x-8 space-y-10">
<div>
<div class="space-y-14 shadow bg-grey-900 p-5 shadow-2xl">
<div class="space-y-2 joe_banker">
<p class="font-bold text-3xl">Joe Banker</p>
<div class="flex flex-row justify-between">
<p>Balance</p>
<p class="currency">€ 200</p>
</div>
</div>
<div id="banker_btn">
<button class="get_a_loan py-3 px-2 rounded-lg w-full" onclick="get_a_loan()">Get a Loan</button>
</div>
</div>
</div>
<div>
<div class="space-y-14 shadow bg-grey-900 p-5 shadow-2xl">
<div class="space-y-2">
<p class="font-bold text-3xl">Work</p>
<div class="flex flex-row justify-between">
<p>Pay</p>
<p class="work_currency">€ 0</p>
</div>
</div>
<div class="flex flex-row space-x-4">
<button class="bank_btn py-3 px-2 rounded-lg" onclick="working_bank()">Bank</button>
<button class="work_btn py-3 px-2 rounded-lg" onclick="working_btn()">Work</button>
</div>
</div>
</div>
<div>
<div class="space-y-14 shadow bg-grey-900 p-5 shadow-2xl">
<div class="space-y-2">
<p class="font-bold text-3xl">Laptops</p>
<select name="" id="select_laptop" onchange="updateSelection()" class="border-2 border-gray-200 focus:outline-none">
</select>
</div>
<div class="mt-6">
<h2 class="font-bold text-lg">Features:</h2>
<div id="features">
</div>
</div>
</div>
</div>
<div>
<div class="flex flex-row justify-between p-3 shadow bg-grey-900 p-5 shadow-2xl space-x-3">
<div><img id="lapimg" style="max-width: 20rem;height: auto;" src="https://hickory-quilled-actress.glitch.me/assets/images/1.png" alt=""></div>
<div class="flex flex-col self-center " id="title_desc">
<p class="text-lg font-bold">Intel Celeron</p>
<p>This laptop will turn on It is perfect for the first time user who like to have a computer around!</p>
</div>
<div class="self-center flex flex-col min-w-fit space-y-6">
<h2 class="font-bold text-2xl" id="price">1500 €</h2>
<button class="font-bold buy_now_btn py-2 px-1 rounded-lg" onclick="buy_now()">BUY NOW</button>
</div>
</div>
</div>
</section>
<script src="script.js"></script>
</body>
</html>