-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (52 loc) · 3.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Pacifico&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="main.css">
<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>Foods Clickers</title>
<script src="https://cdn.tailwindcss.com/"></script>
<script src="main.js"></script>
</head>
<body class="h-screen w-screen bg-gray-100" onload="timetime()" >
<header class="flex grid items-center grid-cols-3 p-2 h-1/6">
<p class="col-start-1 flex justify-center fredoka">Mon Compte</p>
<p class="col-start-2 flex justify-center enseigne text-2xl">Foods Clikers</p>
<p class="col-start-3 flex justify-center fredoka" id="money">Money : 0$</p>
</header>
<main class="h-5/6 flex flex-col grid grid-cols-3 grid-rows-2 w-full gap-2 p-2">
<section class="flex flex-col justify-center items-center bg-white rounded-lg shadow-sm m-5 hover:m-4 hover:shadow-lg">
<h1 class="flex justify-center" id="pricecan">Cannelées (1$) </h1>
<h1 class="flex justify-center" id="nbrcan">Vous avez : 0 Cannelée(s)</h1>
<button class="flex justify-center mt-2" onclick="cookcannele()">Cuisiner</button>
<div class="flex grid grid-cols-2 grid-rows-2">
<button class="flex justify-center row-start-2" id="moulebuy" onclick="buymoule()">Achat d'un moule <br> (10$)</button>
<input class="row-start-1 col-span-2 flex justify-center text-center p-1" id="sellcannum" type="number" name="canv" placeholder="Mise en vente de ..." id="canv">
<button class="flex justify-center row-start-2" onclick="sellcan()">Vendre</button>
</div>
<!-- Cannelées -->
</section>
<section class="pt-4 flex flex-col justify-center bg-white rounded-lg shadow-sm m-5 hover:m-4 hover:shadow-lg" id="cookiesbuymdl">
<button onclick="buy_150000()">BUY 15.000$</button>
<!-- Cookies -->
</section>
<section class="pt-4 flex flex-col justify-center bg-white rounded-lg shadow-sm m-5 hover:m-4 hover:shadow-lg" id="milkshakebuymdl">
<button onclick="buy_1500000()">BUY 1.500.000$</button>
<!-- Milkshake -->
</section>
<div class="grid grid-rows-2 justify-center flex flex-col m-2 row-start-2 col-start-2">
<section class="m-2 p-2 col-start-1 row-start-1 col-span-2">
Changement de prix dans : <span id="time"></span>
</section>
<button class="m-2 p-2 col-start-1 row-start-2" onclick="save()">Sauvegarder</button>
<button class="m-2 p-2 col-start-2 row-start-2" onclick="load()">Charger</button>
</div>
</main>
</body>
</html>