-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
42 lines (38 loc) · 1.96 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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/node_modules/bootstrap/dist/css/bootstrap.css">
<title>API JOKE</title>
<style>
/* Asegura que el contenedor flex tenga al menos el alto de la ventana */
.vh-100 { height: 100vh; }
</style>
</head>
<body class="bg-custom">
<div class="container ">
<div class="d-flex">
<img id="weatherInfo" src="./img/color/1000.svg" style="width: 5rem; height: 5rem;">
<span id="temp" class="fw-bold"><h1 class="p-3">15 ºC</h1></span>
</div>
<div class="ms-3"><span id="localizacion" class="fw-bold"><h3>Localizacion</h3></span></div>
<div class="row d-flex justify-content-center align-items-center vh-100">
<div class="col-12 p-5 rounded-5">
<h1 class="text-center p-4 text-light">Preparat per riure? 🤣</h1>
<p id="joke" class="mt-3 text-center text-light fs-5"></p>
<div class="d-flex justify-content-around align-items-center mt-5">
<img src="./img/reshot-icon-cold-JDUYMTRXSF.svg" alt="cold Emoji" class="flex-item" style="width: 4rem; height: 4rem;">
<img src="./img/reshot-icon-shifty-QVBDMJCAWN.svg" alt="Heart Emoji" class="flex-item" style="width: 4rem; height: 4rem;">
<img src="./img/reshot-icon-tears-SHNXUVD2GZ.svg" alt="Sun Emoji" class="flex-item" style="width: 4rem; height: 4rem;">
</div>
<div class="text-center mt-5">
<button type="button" class="btn btn-warning text-center fw-semibold" id="btn">Siguiente Chiste</button>
</div>
</div>
</div>
</div>
<script src="./node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
<script src="./index.js"></script>
</body>
</html>