-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (70 loc) · 8.69 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
68
69
70
71
<html lang="fr"><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">
<script src="build/js/main.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="build/css/main.css">
<link rel="shortcut icon" href="build/img/favicon.ico" type="image/x-icon">
<meta name="google-site-verification" content="BUcRCfHLlLtNutPYcBtjG4Eg2_agJBUpEakF2FByoBE" />
<title>Caluclatrice</title>
<body class="bg-gray-100 ">
<main class="flex justify-center">
<section class="container lg:p-8 md:p-5 grid grid-cols-4.75 gird-rows-5 lg:grid-rows-4 lg:grid-cols-5 md:grid-cols-4 md:grid-rows-6 sm:grid-rows-8 sm:grid-cols-4">
<div id="print_number" class=" sm:col-start-1 sm:row-satrt-1 md:col-start-1 md:row-start-1 lg:row-start-1 lg:col-start-1 lg:col-span-1 md:col-span-1 sm:col-span-2 invisible sm:visible row-start-1 col-start-4 sm:visible md:visible lg:visible m-5 shadow-md rounded-lg overflow-hidden bg-white p-5 ">Calculatrice</div>
<div id="print_numbersl" class="sm:col-start-3 sm:row-start-1 lg:row-start-1 lg:col-start-1 md:row-start-1 md:col-start-1 row-start-1 col-start-4 sm:invisible md:invisible lg:invisible visible sm:visible md:visible m-5 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 ">Calucle</div>
<div class="sm:col-start-3 sm:row-start-1 md:col-start-2 md:row-start-1 lg:col-start-1 lg:row-start-4 invisible sm:visible col-span-3 col-start-1 row-start-1 m-5 shadow-md rounded-lg overflow-hidden bg-white p-5 md:col-span-3 sm:col-span-3 lg:col-span-1 " lg:row-start-4="" lg:col-start-1="" md:row-start-1="" md:col-start-3="">
<p id="affichage">Calcule</p>
</div>
<div class="visible sm:invisible md:invisible sm:col-start-1 md:col-start-1 md:row-start-1 sm:row-start-1 lg:col-start-1 lg:row-start-4 col-span-3 col-start-1 row-start-1 m-5 shadow-md rounded-lg overflow-hidden bg-white p-5 md:col-span-1 sm:col-span-3 lg:col-span-1 " lg:row-start-4="" lg:col-start-1="" md:row-start-1="" md:col-start-3="">
<p id="affichagesl">Calculatrice</p>
</div>
<button id="one" class="row-start-2 col-start-1 sm:row-start-2 sm:col-start-1 lg:row-start-1 lg:col-start-2 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-2 md:col-start-1" onclick="one()">
<div class="">1</div>
</button>
<button id="two" class="row-start-2 col-start-2 sm:row-start-2 sm:col-start-2 lg:row-start-1 lg:col-start-3 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-2 md:col-start-2 " onclick="two()">
<div class="">2</div>
</button>
<button id="three" class="row-start-2 col-start-3 sm:row-start-2 sm:col-start-3 lg:row-start-1 lg:col-start-4 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-2 md:col-start-3 " onclick="three()">
<div class="">3</div>
</button>
<button id="four" onclick="four()" class="row-start-3 col-start-1 sm:row-start-3 sm:col-start-1 lg:row-start-2 lg:col-start-2 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-3 md:col-start-1">
<div class="">4</div>
</button>
<button id="five" class="row-start-3 col-start-2 sm:row-start-3 sm:col-start-2 lg:row-start-2 lg:col-start-3 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-3 md:col-start-2" onclick="five()">
<div class="">5</div></button>
<button id="six" onclick="six()" class="row-start-3 col-start-3 sm:row-start-3 sm:col-start-3 lg:row-start-2 lg:col-start-4 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-3 md:col-start-3 ">
<div class="">6</div>
</button>
<button id="reset" onclick="reset()" class="row-start-6 col-start-1 col-span-4 lg:row-span-2 sm:row-start-6 sm:col-start-1 md:row-start-6 md:col-start-1 md:visible sm:visible lg:visible lg:row-start-2 lg:col-start-1 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-4 sm:col-span-4 ">
<div class="">Reset</div>
</button>
<!-- <button id="virgule" onclick="virgule()" class="row-start-5 col-start-3 lg:row-span-1 sm:row-start-5 sm:col-start-1 md:row-start-5 md:col-start-1 lg:row-start-4 lg:col-start-2 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 ">
<div class="">.</div>
</button> -->
<button id="seven" onclick="seven()" class="row-start-4 col-start-1 sm:row-start-4 sm:col-start-1 lg:row-start-3 lg:col-start-2 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-4 md:col-start-1">
<div class="">7</div>
</button>
<button id="eight" onclick="eight()" class="row-start-4 col-start-2 sm:row-start-4 sm:col-start-2 lg:row-start-3 lg:col-start-3 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-4 md:col-start-2 ">
<div class="">8</div>
</button>
<button id="nine" class="row-start-4 col-start-3 sm:row-start-4 sm:col-start-3 lg:row-start-3 lg:col-start-4 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-4 md:col-start-3 " onclick="nine()">
<div class="">9</div>
</button>
<button id="plus" onclick="plus()" class="row-start-2 col-start-4 sm:row-start-2 sm:col-start-4 lg:row-start-1 lg:col-start-5 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-2 md:col-start-4">+</button>
<button id="moins" onclick="moins()" class="row-start-3 col-start-4 sm:row-start-3 sm:col-start-4 lg:row-start-2 lg:col-start-5 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-3 md:col-start-4">-</button>
<button id="multi" onclick="multi()" class="row-start-4 col-start-4 sm:row-start-4 sm:col-start-4 lg:row-start-3 lg:col-start-5 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-4 md:col-start-4">*</button>
<button id="div" onclick="div()" class="row-start-5 col-start-4 sm:row-start-5 sm:col-start-4 lg:row-start-4 lg:col-start-5 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-5 md:col-start-4">/</button>
<button id="equal" onclick="equal()" class="md:visible row-start-5 col-start-3 sm:row-start-5 sm:col-start-3 sm:visible md:row-start-5 md:col-start-3 lg:visible lg:row-start-4 lg:col-start-4 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center ">
<div class="">=</div>
</button>
<button id="virgule" class="row-start-5 col-start-1 sm:row-start-5 sm:col-start-1 lg:row-start-4 lg:col-start-2 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center md:row-start-5 md:col-start-1" onclick="virgule()">
<div class="">.</div>
</button>
<button id="zero" onclick="zero()" class="row-start-5 col-start-2 sm:row-start-5 sm:col-start-2 lg:row-start-4 lg:col-start-3 hover:shadow-xl m-3 shadow-md rounded-lg overflow-hidden bg-white p-5 lg:col-span-1 md:col-span-1 sm:col-span-1 text-center lg:row-start-4 md:row-start-5 md:col-start-2">
<div class="">0</div>
</button>
</section>
</main>
</body>
</html>