-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (57 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
53
54
55
56
57
58
59
60
61
62
63
64
<!DOCTYPE html>
<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">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
<!-- JavaScript Bundle with Popper -->
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
<script defer src="./script.js"></script>
<title>Meteo City</title>
</head>
<body>
<!--Titre -->
<header>
<div>
<h1 class="p-3 mb-2 bg-info text-white text-center display-1">METEO CITY</h1>
</div>
</header>
<main>
<h2 class="text-center bg-warning p-2 text-secondary bg-opacity-25 display-2">Quels temps fait-il ?</h2>
<!--Formulaire permettant de proposer le choix de la ville et d'afficher les données météo-->
<form id="form" >
<input type="text" id="ville" placeholder="Nom de la ville recherchée" class="opacity-75" style="width: 250px;"></input>
<button id="valid" type="button" class="btn btn-primary" data-bs-toggle="collapse" >GO--></button>
<div id="affichage" class="invisible p-3 mb-2 bg-light">
<div class="container text-center">
<div class=" row justify-content-cente">
<div id="nomVille" class="col-md-12 col-lg-12 col-xs-12 col-sm-12 text-center p-3 mb-2 bg-light display-2"></div>
<div><img class=" col-md-4 col-lg-4 col-xs-12 col-sm-12 " id="itemp" ></div>
</div>
</div>
<div class=" container text-center mb-2 bg-light">
<div class="row">
<div class="col-md-12 col-lg-12 col-xs-12 col-sm-12 mb-5 ">
<div id="temp_min" class=" p-3 mb-2 bg-info text-white text-center fs-3 fs-6 rounded-pill" ></div>
<div id="temp" type="text" class=" p-3 mb-2 bg-info text-white text-center fs-3 fs-6 rounded-pill" ></div>
<div id="temp_max" class=" p-3 mb-2 bg-info text-white text-center fs-3 fs-6 rounded-pill" ></div>
<div id="pressure" class=" p-3 mb-2 bg-info text-white text-center fs-3 fs-6 rounded-pill"></div>
<div class="col-md-12 col-lg-12 col-xs-12 col-sm-12">
<div id="humidity" class=" p-3 mb-2 bg-info text-white text-center fs-3 fs-6 rounded-pill"></div>
<div id="wind" class="p-3 mb-2 bg-info text-white text-center fs-3 fs-6 rounded-pill"></div>
<div id="dirWind" class="p-3 mb-2 bg-info text-white text-center fs-3 fs-6 rounded-pill"></div>
</div>
</div>
</div>
</div>
</div>
</form>
</main>
</body>
</html>